diff Python/sysmodule.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 c7454ca7d3ac
children f94d5ae642a9
line wrap: on
line diff