[Python-checkins] r77188 - python/trunk/Doc/whatsnew/2.7.rst

benjamin.peterson python-checkins at python.org
Thu Dec 31 17:49:37 CET 2009


Author: benjamin.peterson
Date: Thu Dec 31 17:49:37 2009
New Revision: 77188

Log:
add another advancement

Modified:
   python/trunk/Doc/whatsnew/2.7.rst

Modified: python/trunk/Doc/whatsnew/2.7.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.7.rst	(original)
+++ python/trunk/Doc/whatsnew/2.7.rst	Thu Dec 31 17:49:37 2009
@@ -360,9 +360,10 @@
   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


More information about the Python-checkins mailing list