Kaydet (Commit) ae9a0a0f authored tarafından Benjamin Peterson's avatar Benjamin Peterson

add another advancement

üst a7f59471
...@@ -360,9 +360,10 @@ Some smaller changes made to the core Python language are: ...@@ -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 the :exc:`IOError` exception when trying to open a directory
on POSIX platforms. (Noted by Jan Kaliszewski; :issue:`4764`.) on POSIX platforms. (Noted by Jan Kaliszewski; :issue:`4764`.)
* The Python tokenizer now translates line endings itself, so * The Python tokenizer now translates line endings itself, so the
the :func:`compile` built-in function can now accept code using :func:`compile` built-in function can now accept code using any
any line-ending convention. 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, * Extra parentheses in function definitions are illegal in Python 3.x,
meaning that you get a syntax error from ``def f((x)): pass``. In meaning that you get a syntax error from ``def f((x)): pass``. In
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment