Home
last modified time | relevance | path

Searched refs:is_text_codec (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Python/
Dcodecs.c457 int is_text_codec; in _PyCodec_LookupTextEncoding() local
474 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()
/external/python/cpython3/Python/
Dcodecs.c532 int is_text_codec; in _PyCodec_LookupTextEncoding() local
548 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()