Mercurial > cpython-lru_cache-weakref
comparison Python/graminit.c @ 7970:4ceee1ef99b0 legacy-trunk
/* An extension mechanism to store arbitrary additional per-thread state.
PyThreadState_GetDict() returns a dictionary that can be used to hold such
state; the caller should pick a unique key and store its state there. If
PyThreadState_GetDict() returns NULL, an exception has been raised (most
likely MemoryError) and the caller should pass on the exception. */
PyObject *
PyThreadState_GetDict()
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 10 Apr 1998 20:18:25 +0000 |
| parents | ad114620f8c2 |
| children | 603db0d0aed1 |
comparison
equal
deleted
inserted
replaced
| 7969:338f1def4370 | 7970:4ceee1ef99b0 |
|---|
