changeset 68183:10256bd68787

this isn't true anymore
author Benjamin Peterson <benjamin@python.org>
date Sat, 26 Feb 2011 21:32:16 +0000
parents 722aeeb57eab
children c77b25adfec2
files Doc/reference/executionmodel.rst Modules/posixmodule.c
diffstat 2 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Doc/reference/executionmodel.rst	Sat Feb 26 17:52:50 2011 +0000
+++ b/Doc/reference/executionmodel.rst	Sat Feb 26 21:32:16 2011 +0000
@@ -94,9 +94,7 @@
 at the module level.
 
 A target occurring in a :keyword:`del` statement is also considered bound for
-this purpose (though the actual semantics are to unbind the name).  It is
-illegal to unbind a name that is referenced by an enclosing scope; the compiler
-will report a :exc:`SyntaxError`.
+this purpose (though the actual semantics are to unbind the name).
 
 Each assignment or import statement occurs within a block defined by a class or
 function definition or at the module level (the top-level code block).
--- a/Modules/posixmodule.c	Sat Feb 26 17:52:50 2011 +0000
+++ b/Modules/posixmodule.c	Sat Feb 26 21:32:16 2011 +0000
@@ -5935,9 +5935,8 @@
     int flags = 0;
     sf.headers = NULL;
     sf.trailers = NULL;
-    static char *keywords[] = {"out", "in",
-                                "offset", "count",
-                                "headers", "trailers", "flags", NULL};
+    static char *keywords[] = {"out", "in", "offset", "count", "headers",
+                               "trailers", "flags", NULL};
 
 #ifdef __APPLE__
     if (!PyArg_ParseTupleAndKeywords(args, kwdict, "iiO&O&|OOi:sendfile",