[Python-checkins] r67958 - python/trunk/Doc/c-api/arg.rst
georg.brandl
python-checkins at python.org
Sat Dec 27 20:03:00 CET 2008
Author: georg.brandl
Date: Sat Dec 27 20:02:59 2008
New Revision: 67958
Log:
#4682: 'b' is actually unsigned char.
Modified:
python/trunk/Doc/c-api/arg.rst
Modified: python/trunk/Doc/c-api/arg.rst
==============================================================================
--- python/trunk/Doc/c-api/arg.rst (original)
+++ python/trunk/Doc/c-api/arg.rst Sat Dec 27 20:02:59 2008
@@ -136,8 +136,9 @@
them. Instead, the implementation assumes that the string object uses the
encoding passed in as parameter.
-``b`` (integer) [char]
- Convert a Python integer to a tiny int, stored in a C :ctype:`char`.
+``b`` (integer) [unsigned char]
+ Convert a nonnegative Python integer to an unsigned tiny int, stored in a C
+ :ctype:`unsigned char`.
``B`` (integer) [unsigned char]
Convert a Python integer to a tiny int without overflow checking, stored in a C
More information about the Python-checkins
mailing list