mirror of
https://github.com/python/cpython.git
synced 2025-10-01 21:02:15 +00:00
#4682: 'b' is actually unsigned char.
This commit is contained in:
parent
348fa7968b
commit
50ae9e7e75
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue