diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-12-31 16:49:37 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-12-31 16:49:37 (GMT) |
commit | ae9a0a0f272fe3492a940efd1056aee12bc22f6b (patch) | |
tree | 2b9bb6519918013616732ddbe71528c9261187d0 | |
parent | a7f594712ed917ae9b3b309f83ec7205d19acd22 (diff) | |
download | cpython-ae9a0a0f272fe3492a940efd1056aee12bc22f6b.zip cpython-ae9a0a0f272fe3492a940efd1056aee12bc22f6b.tar.gz cpython-ae9a0a0f272fe3492a940efd1056aee12bc22f6b.tar.bz2 |
add another advancement
-rw-r--r-- | Doc/whatsnew/2.7.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst index da15e49..5352d03 100644 --- a/Doc/whatsnew/2.7.rst +++ b/Doc/whatsnew/2.7.rst @@ -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 |