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
d6117a42
Commit
d6117a42
authored
Apr 14, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #26716: Regenerate Argument Clinic code.
parent
de4e079d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Modules/clinic/fcntlmodule.c.h
Modules/clinic/fcntlmodule.c.h
+2
-2
Modules/fcntlmodule.c
Modules/fcntlmodule.c
+1
-1
No files found.
Modules/clinic/fcntlmodule.c.h
View file @
d6117a42
...
...
@@ -145,7 +145,7 @@ PyDoc_STRVAR(fcntl_lockf__doc__,
"
\n
"
"When operation is LOCK_SH or LOCK_EX, it can also be bitwise ORed with
\n
"
"LOCK_NB to avoid blocking on lock acquisition. If LOCK_NB is used and the
\n
"
"lock cannot be acquired, an
IO
Error will be raised and the exception will
\n
"
"lock cannot be acquired, an
OS
Error will be raised and the exception will
\n
"
"have an errno attribute set to EACCES or EAGAIN (depending on the operating
\n
"
"system -- for portability, check for either value).
\n
"
"
\n
"
...
...
@@ -182,4 +182,4 @@ fcntl_lockf(PyModuleDef *module, PyObject *args)
exit:
return
return_value
;
}
/*[clinic end generated code: output=
92963b631d00f0fe
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
b7d6e8fc2ad09c48
input=a9049054013a1b77]*/
Modules/fcntlmodule.c
View file @
d6117a42
...
...
@@ -360,7 +360,7 @@ starts. `whence` is as with fileobj.seek(), specifically:
static
PyObject
*
fcntl_lockf_impl
(
PyModuleDef
*
module
,
int
fd
,
int
code
,
PyObject
*
lenobj
,
PyObject
*
startobj
,
int
whence
)
/*[clinic end generated code: output=31af35eba08b9af7 input=
9c594391de821f24
]*/
/*[clinic end generated code: output=31af35eba08b9af7 input=
3a5dc01b04371f1a
]*/
{
int
ret
;
...
...
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