From c6696d272ffbac7d672a208b9fbbe52713f586cd Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 26 Feb 2011 21:32:16 +0000 Subject: [PATCH] this isn't true anymore --- Doc/reference/executionmodel.rst | 4 +--- Modules/posixmodule.c | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Doc/reference/executionmodel.rst b/Doc/reference/executionmodel.rst index d11e74196ad..82e37a21fab 100644 --- a/Doc/reference/executionmodel.rst +++ b/Doc/reference/executionmodel.rst @@ -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). diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 985a01e7333..aace2fed0bd 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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",