]> granicus.if.org Git - python/commitdiff
add another advancement
authorBenjamin Peterson <benjamin@python.org>
Thu, 31 Dec 2009 16:49:37 +0000 (16:49 +0000)
committerBenjamin Peterson <benjamin@python.org>
Thu, 31 Dec 2009 16:49:37 +0000 (16:49 +0000)
Doc/whatsnew/2.7.rst

index da15e4939735d3f0c4a2d690d11a7423f4ec48c8..5352d03526ad860eb0a6ae99f1852ec408dcdadc 100644 (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