/third_party/python/Lib/wsgiref/ |
D | headers.py | 141 def __bytes__(self): member in Headers
|
/third_party/python/Lib/test/ |
D | test_bytes.py | 997 def __bytes__(self): member in BytesTest.test_custom.A 1003 def __bytes__(self): member in BytesTest.test_custom.A 1007 def __bytes__(self): member in BytesTest.test_custom.A 1014 def __bytes__(self): member in BytesTest.test_custom.A 1020 def __bytes__(self): member in BytesTest.test_custom.A 1144 __bytes__ = None variable in BytesTest.test_bytes_blocking.IterationBlocked 1153 __bytes__ = None variable in BytesTest.test_bytes_blocking.IntBlocked 1162 __bytes__ = None variable in BytesTest.test_bytes_blocking.BytesSubclassBlocked 1167 __bytes__ = None variable in BytesTest.test_bytes_blocking.BufferBlocked
|
D | test_class.py | 469 __bytes__ = __int__ variable in ClassTests.testBadTypeReturned.BadTypeClass
|
D | test_format.py | 330 def __bytes__(self): member in FormatTest.test_bytes_and_bytearray_format.FakeBytes
|
D | test_weakref.py | 269 def __bytes__(self): member in ReferencesTestCase.test_proxy_unicode.C
|
D | test_typing.py | 1544 def __bytes__(self): member in ProtocolTests.test_supports_bytes.B
|
/third_party/python/Objects/ |
D | weakrefobject.c | 673 WRAP_METHOD(proxy_bytes, __bytes__)
|
D | object.c | 31 _Py_IDENTIFIER(__bytes__);
|
D | bytesobject.c | 23 _Py_IDENTIFIER(__bytes__);
|
/third_party/python/Lib/email/ |
D | message.py | 161 def __bytes__(self): member in Message
|
/third_party/python/Tools/c-analyzer/ |
D | TODO | 341 Objects/bytesobject.c:bytes_new():PyId___bytes__ _Py_IDENTIFIER(__bytes__) 342 Objects/bytesobject.c:format_obj():PyId___bytes__ _Py_IDENTIFIER(__bytes__) 398 Objects/object.c:PyId___bytes__ _Py_IDENTIFIER(__bytes__) 471 Objects/weakrefobject.c:proxy_bytes():PyId___bytes__ _Py_IDENTIFIER(__bytes__)
|
/third_party/python/Doc/library/ |
D | email.generator.rst | 132 :meth:`~email.message.EmailMessage.__bytes__`), which simplify the generation of
|
D | email.message.rst | 125 .. method:: __bytes__()
|
D | email.compat32-message.rst | 143 .. method:: __bytes__()
|
D | typing.rst | 1898 An ABC with one abstract method ``__bytes__``.
|
D | stdtypes.rst | 3583 | | :meth:`__bytes__`). | |
|
/third_party/python/Lib/ |
D | pathlib.py | 638 def __bytes__(self): member in PurePath
|
D | typing.py | 2191 def __bytes__(self) -> bytes: member in SupportsBytes
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.2rc1.rst | 274 Special method __bytes__() now works in str subclasses. 321 Fixed crash on converting objects with special methods __bytes__, __trunc__,
|
D | 3.6.0a1.rst | 479 Special method __bytes__() now works in str subclasses. 536 Fixed crash on converting objects with special methods __bytes__, __trunc__,
|
/third_party/python/Doc/whatsnew/ |
D | 3.5.rst | 387 TypeError: %b requires bytes, or an object that implements __bytes__, not 'str'
|
D | 3.4.rst | 806 :class:`~email.message.Message` :meth:`~email.message.Message.__bytes__` method
|
/third_party/python/Doc/reference/ |
D | datamodel.rst | 1375 .. method:: object.__bytes__(self)
|
/third_party/python/Misc/ |
D | HISTORY | 152 __bytes__, __trunc__, and __float__ returning instances of subclasses of 4225 and as_bytes and __bytes__ methods to Message. 4567 - Issue #16722: In the bytes() constructor, try to call __bytes__ on the 13922 - Issue #5037: Proxy the __bytes__ special method instead to __bytes__ instead 16333 - bytes(o) now tries to use o.__bytes__() before using fallbacks.
|