PyDocs

Nav

Python Runtime Services

object.__bytes__

builtins

method of object
  • object.__bytes__(self)
Called by bytes to compute a byte-string representation of an object. This should return a bytes object. The object class itself does not provide this method.
0 Examples
No examples for builtins/object.__bytes__.
See Also
No see-alsos for builtins/object.__bytes__
0 Notes
No notes for object.__bytes__