]> granicus.if.org Git - python/commitdiff
this isn't true anymore
authorBenjamin Peterson <benjamin@python.org>
Sat, 26 Feb 2011 21:32:16 +0000 (21:32 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 26 Feb 2011 21:32:16 +0000 (21:32 +0000)
Doc/reference/executionmodel.rst
Modules/posixmodule.c

index d11e74196ad1a5836269535a500918e97b6ccdf4..82e37a21fab541939c843e0fa5c6807eab55dd22 100644 (file)
@@ -94,9 +94,7 @@ module, except those beginning with an underscore.  This form may only be used
 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).
index 985a01e73337710aece3ed1e897277d15ecf5fa9..aace2fed0bd69e59b645fe3ef16bbec436e37cec 100644 (file)
@@ -5935,9 +5935,8 @@ posix_sendfile(PyObject *self, PyObject *args, PyObject *kwdict)
     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",