summaryrefslogtreecommitdiff
path: root/doc/reference/surfaces.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/surfaces.rst')
-rw-r--r--doc/reference/surfaces.rst6
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/reference/surfaces.rst b/doc/reference/surfaces.rst
index bc57a6e..0ba51c9 100644
--- a/doc/reference/surfaces.rst
+++ b/doc/reference/surfaces.rst
@@ -257,11 +257,7 @@ those defined in :ref:`FORMAT attributes <constants_FORMAT>`.
.. classmethod:: create_for_data(data, format, width, height[, stride])
- Not yet available in Python 3
-
- .. comment block - the old docs
-
- :param data: a writable Python buffer object
+ :param data: an object which implements the read-write buffer interface
:param format: the :ref:`FORMAT <constants_FORMAT>` of pixels in the
buffer
:param width: the width of the image to be stored in the buffer