diff options
author | Georg Brandl <georg@python.org> | 2008-12-27 19:02:59 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-12-27 19:02:59 (GMT) |
commit | 50ae9e7e758fec2bed9f5498a293556c01e0f9e9 (patch) | |
tree | a267d7e212b2d92eadb6b412ce66a61f64876ece | |
parent | 348fa7968ba8aa972bf418f1528f9d089f892f34 (diff) | |
download | cpython-50ae9e7e758fec2bed9f5498a293556c01e0f9e9.zip cpython-50ae9e7e758fec2bed9f5498a293556c01e0f9e9.tar.gz cpython-50ae9e7e758fec2bed9f5498a293556c01e0f9e9.tar.bz2 |
#4682: 'b' is actually unsigned char.
-rw-r--r-- | Doc/c-api/arg.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index 5dc28af..c3da859 100644 --- a/Doc/c-api/arg.rst +++ b/Doc/c-api/arg.rst @@ -136,8 +136,9 @@ variable(s) whose address should be passed. 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 |