comparison Python/modsupport.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 2e874a5a912f
children 8e86a797e596
comparison
equal deleted inserted replaced
7969:338f1def4370 7970:4ceee1ef99b0