Mercurial > cpython-lru_cache-weakref
diff Python/structmember.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 | 5880384d7c71 |
| children | ff31f2501742 |
