HomeSort by relevance Sort by last modified time
    Searched refs:locale_module (Results 1 - 3 of 3) sorted by null

  /external/python/cpython3/Modules/_io/
_iomodule.c 588 if (state->locale_module != NULL) {
589 assert(PyWeakref_CheckRef(state->locale_module));
590 mod = PyWeakref_GET_OBJECT(state->locale_module);
595 Py_CLEAR(state->locale_module);
600 state->locale_module = PyWeakref_NewRef(mod, NULL);
601 if (state->locale_module == NULL) {
614 if (state->locale_module != NULL) {
615 Py_VISIT(state->locale_module);
627 if (state->locale_module != NULL)
628 Py_CLEAR(state->locale_module);
    [all...]
_iomodule.h 144 PyObject *locale_module; member in struct:__anon33318
textio.c 899 PyObject *locale_module = _PyIO_get_locale_module(state); local
900 if (locale_module == NULL)
903 locale_module, &PyId_getpreferredencoding, "O", Py_False);
904 Py_DECREF(locale_module);
    [all...]

Completed in 108 milliseconds