[Python-checkins] r82598 - in python/branches/release31-maint: Doc/c-api/arg.rst
victor.stinner
python-checkins at python.org
Mon Jul 5 23:38:37 CEST 2010
Author: victor.stinner
Date: Mon Jul 5 23:38:37 2010
New Revision: 82598
Log:
Merged revisions 82597 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82597 | victor.stinner | 2010-07-05 23:36:21 +0200 (lun., 05 juil. 2010) | 2 lines
#9158: Fix y* format of PyArg_Parse*() functions documentation
........
Modified:
python/branches/release31-maint/ (props changed)
python/branches/release31-maint/Doc/c-api/arg.rst
Modified: python/branches/release31-maint/Doc/c-api/arg.rst
==============================================================================
--- python/branches/release31-maint/Doc/c-api/arg.rst (original)
+++ python/branches/release31-maint/Doc/c-api/arg.rst Mon Jul 5 23:38:37 2010
@@ -100,7 +100,7 @@
contain embedded NUL bytes; if it does, a :exc:`TypeError`
exception is raised.
-``y*`` (:class:`bytes`, :class:`bytearray` or buffer compatible object) [Py_buffer \*]
+``y*`` (:class:`bytes`, :class:`bytearray` or buffer compatible object) [Py_buffer]
This variant on ``s*`` doesn't accept Unicode objects, only objects
supporting the buffer protocol. **This is the recommended way to accept
binary data.**
More information about the Python-checkins
mailing list