Commit f9c2ab72 authored by Stefan Behnel's avatar Stefan Behnel

comment on old Py2.x buffer protocol

parent 04d4e1b7
...@@ -361,9 +361,10 @@ Descriptor objects (see note 2) ...@@ -361,9 +361,10 @@ Descriptor objects (see note 2)
| __delete__ | self, instance | | Delete attribute | | __delete__ | self, instance | | Delete attribute |
+-----------------------+---------------------------------------+-------------+-----------------------------------------------------+ +-----------------------+---------------------------------------+-------------+-----------------------------------------------------+
.. note:: (1) The buffer interface is intended for use by C code and is not directly .. note:: (1) The buffer interface was intended for use by C code and is not directly
accessible from Python. It is described in the Python/C API Reference Manual accessible from Python. It is described in the Python/C API Reference Manual
under sections 6.6 and 10.6. of Python 2.x under sections 6.6 and 10.6. It was superseded by the new
PEP 3118 buffer protocol in Python 2.6 and is no longer available in Python 3.
.. note:: (2) Descriptor objects are part of the support mechanism for new-style .. note:: (2) Descriptor objects are part of the support mechanism for new-style
Python classes. See the discussion of descriptors in the Python documentation. Python classes. See the discussion of descriptors in the Python documentation.
......
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