Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
61774af7
Commit
61774af7
authored
Feb 26, 2011
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
this isn't true anymore
parent
b7e37252
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
Doc/reference/executionmodel.rst
Doc/reference/executionmodel.rst
+1
-3
Modules/posixmodule.c
Modules/posixmodule.c
+2
-3
No files found.
Doc/reference/executionmodel.rst
View file @
61774af7
...
...
@@ -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).
...
...
Modules/posixmodule.c
View file @
61774af7
...
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment