diff Python/getversion.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 728a083242a2
children 6fc58d79dac5
line wrap: on
line diff