• Guido van Rossum's avatar
    /* An extension mechanism to store arbitrary additional per-thread state. · ede0439c
    Guido van Rossum yazdı
       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()
    ede0439c
pystate.c 5.46 KB