Lines Matching refs:bytes
57 # - NNTP.post() and NNTP.ihave() accept file objects, bytes-like objects and
151 "subject", "from", "date", "message-id", "references", ":bytes", ":lines"]
155 'bytes': ':bytes',
175 if isinstance(v, bytes):
189 # Metadata name (e.g. ":bytes")
303 # However, some multi-line data blocks can contain arbitrary bytes (for
306 # data will therefore only accept and produce bytes objects.
446 The `line` must be a bytes-like object."""
463 Returns a bytes object."""
498 string and `lines` is a list of bytes objects.
505 if isinstance(file, (str, bytes)):
554 are unicode strings rather than bytes objects.
889 if isinstance(f, (bytes, bytearray)):
907 - data: bytes object, iterable or file containing the article