From: Benjamin Peterson Date: Sat, 26 Feb 2011 21:32:16 +0000 (+0000) Subject: this isn't true anymore X-Git-Tag: v3.3.0a1~3037 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6696d272ffbac7d672a208b9fbbe52713f586cd;p=python this isn't true anymore --- diff --git a/Doc/reference/executionmodel.rst b/Doc/reference/executionmodel.rst index d11e74196a..82e37a21fa 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 985a01e733..aace2fed0b 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",