summaryrefslogtreecommitdiffstats
path: root/Include/pystate.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-10 20:18:25 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-10 20:18:25 (GMT)
commitede0439cd8e53c50df8be78bef564fd585dc171d (patch)
tree44613b43727a729588bc90425eaab25485aa71da /Include/pystate.h
parentc45cf029380f1b95a9d208d7c63843ce8317ad7d (diff)
downloadcpython-ede0439cd8e53c50df8be78bef564fd585dc171d.zip
cpython-ede0439cd8e53c50df8be78bef564fd585dc171d.tar.gz
cpython-ede0439cd8e53c50df8be78bef564fd585dc171d.tar.bz2
/* 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()
Diffstat (limited to 'Include/pystate.h')
0 files changed, 0 insertions, 0 deletions