Home
last modified time | relevance | path

Searched refs:__abc_tpflags__ (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Modules/
H A D_abc.c449 /* If __abc_tpflags__ & COLLECTION_FLAGS is set, then set the corresponding bit(s) in _abc__abc_init()
456 &_Py_ID(__abc_tpflags__)); in _abc__abc_init()
469 PyErr_SetString(PyExc_TypeError, "__abc_tpflags__ cannot be both Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING"); in _abc__abc_init()
474 if (PyDict_DelItem(cls->tp_dict, &_Py_ID(__abc_tpflags__)) < 0) { in _abc__abc_init()
/third_party/python/Lib/
H A D_collections_abc.py765 __abc_tpflags__ = 1 << 6 # Py_TPFLAGS_MAPPING variable in Mapping
983 __abc_tpflags__ = 1 << 5 # Py_TPFLAGS_SEQUENCE variable in Sequence
/third_party/python/Include/internal/
H A Dpycore_global_strings.h62 STRUCT_FOR_ID(__abc_tpflags__)
H A Dpycore_runtime_init.h685 INIT_ID(__abc_tpflags__), \
/third_party/python/Lib/test/
H A Dtest_collections.py2008 __abc_tpflags__ = (Sequence.__flags__ | Mapping.__flags__) variable in TestCollectionABCs.test_illegal_patma_flags.Both

Completed in 9 milliseconds