mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue #5247: Improve error message when unknown format codes are used when using str.format() with str, unicode, long, int, and float arguments.
This commit is contained in:
parent
8b8c2df9b1
commit
e9fb6863da
2 changed files with 35 additions and 17 deletions
|
@ -12,6 +12,10 @@ What's New in Python 2.7 alpha 1
|
|||
Core and Builtins
|
||||
-----------------
|
||||
|
||||
- Issue #5247: Improve error message when unknown format codes are
|
||||
used when using str.format() with str, unicode, long, int, and
|
||||
float arguments.
|
||||
|
||||
- Running Python with the -3 option now also warns about classic division
|
||||
for ints and longs.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue