[Python-checkins] r67555 - python/branches/py3k/Doc/c-api/arg.rst
georg.brandl
python-checkins at python.org
Fri Dec 5 08:57:52 CET 2008
Author: georg.brandl
Date: Fri Dec 5 08:57:51 2008
New Revision: 67555
Log:
#4427: fix arguments for "y" BuildValue type.
Modified:
python/branches/py3k/Doc/c-api/arg.rst
Modified: python/branches/py3k/Doc/c-api/arg.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/arg.rst (original)
+++ python/branches/py3k/Doc/c-api/arg.rst Fri Dec 5 08:57:51 2008
@@ -438,7 +438,7 @@
Convert a C string and its length to a Python object. If the C string pointer
is *NULL*, the length is ignored and ``None`` is returned.
- ``y`` (bytes) [char \*, int]
+ ``y`` (bytes) [char \*]
This converts a C string to a Python :func:`bytes` object. If the C
string pointer is *NULL*, ``None`` is returned.
More information about the Python-checkins
mailing list