mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Fix description: u"%c" % 0xffffffff returned a ValueError not a TypeError.
This commit is contained in:
parent
44f527fea4
commit
1e469c5603
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ Core and builtins
|
|||
|
||||
- "%c" % u"a" now returns a unicode string instead of raising a
|
||||
TypeError. u"%c" % 0xffffffff now raises a OverflowError instead
|
||||
of a TypeError to be consistent with "%c" % 256. See SF patch #710127.
|
||||
of a ValueError to be consistent with "%c" % 256. See SF patch #710127.
|
||||
|
||||
Extension modules
|
||||
-----------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue