add another advancement

This commit is contained in:
Benjamin Peterson 2009-12-31 16:49:37 +00:00
parent a7f594712e
commit ae9a0a0f27
1 changed files with 4 additions and 3 deletions

View File

@ -360,9 +360,10 @@ Some smaller changes made to the core Python language are:
on the :exc:`IOError` exception when trying to open a directory
on POSIX platforms. (Noted by Jan Kaliszewski; :issue:`4764`.)
* The Python tokenizer now translates line endings itself, so
the :func:`compile` built-in function can now accept code using
any line-ending convention.
* The Python tokenizer now translates line endings itself, so the
:func:`compile` built-in function can now accept code using any
line-ending convention. Additionally, it no longer requires that the
code end in a newline.
* Extra parentheses in function definitions are illegal in Python 3.x,
meaning that you get a syntax error from ``def f((x)): pass``. In