Kaydet (Commit) a09657e9 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Elaborate on bytes-like objects.

üst 5cea09d2
......@@ -79,7 +79,11 @@ Glossary
bytes-like object
An object that supports the :ref:`buffer protocol <bufferobjects>`,
like :class:`str` or :class:`bytearray`.
like :class:`str`, :class:`bytearray` or :class:`memoryview`.
Bytes-like objects can be used for various operations that expect
binary data, such as compression, saving to a binary file or sending
over a socket. Some operations need the binary data to be mutable,
in which case not all bytes-like objects can apply.
bytecode
Python source code is compiled into bytecode, the internal representation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment