commit | ede0439cd8e53c50df8be78bef564fd585dc171d | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Apr 10 20:18:25 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Apr 10 20:18:25 1998 +0000 |
tree | 44613b43727a729588bc90425eaab25485aa71da | |
parent | c45cf029380f1b95a9d208d7c63843ce8317ad7d [diff] |
/* 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()