Searched refs:is_text_codec (Results 1 – 2 of 2) sorted by relevance
457 int is_text_codec; in _PyCodec_LookupTextEncoding() local474 is_text_codec = PyObject_IsTrue(attr); in _PyCodec_LookupTextEncoding()476 if (is_text_codec < 0) in _PyCodec_LookupTextEncoding()478 if (!is_text_codec) { in _PyCodec_LookupTextEncoding()
532 int is_text_codec; in _PyCodec_LookupTextEncoding() local548 is_text_codec = PyObject_IsTrue(attr); in _PyCodec_LookupTextEncoding()550 if (is_text_codec <= 0) { in _PyCodec_LookupTextEncoding()552 if (!is_text_codec) in _PyCodec_LookupTextEncoding()