[Python-checkins] r63775 - python/trunk/Doc/c-api/bytearray.rst
georg.brandl
python-checkins at python.org
Thu May 29 09:18:17 CEST 2008
Author: georg.brandl
Date: Thu May 29 09:18:17 2008
New Revision: 63775
Log:
Two fixes in bytearray docs.
Modified:
python/trunk/Doc/c-api/bytearray.rst
Modified: python/trunk/Doc/c-api/bytearray.rst
==============================================================================
--- python/trunk/Doc/c-api/bytearray.rst (original)
+++ python/trunk/Doc/c-api/bytearray.rst Thu May 29 09:18:17 2008
@@ -7,10 +7,12 @@
.. index:: object: bytearray
+.. versionadded:: 2.6
+
.. ctype:: PyByteArrayObject
- This subtype of :ctype:`PyObject` represents a Python string object.
+ This subtype of :ctype:`PyObject` represents a Python bytearray object.
.. cvar:: PyTypeObject PyByteArray_Type
@@ -36,6 +38,8 @@
Return a new bytearray object from any object, *o*, that implements the
buffer protocol.
+ .. XXX expand about the buffer protocol, at least somewhere
+
.. cfunction:: PyObject* PyByteArray_FromStringAndSize(const char *string, Py_ssize_t len)
More information about the Python-checkins
mailing list