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
2e310b4c
Commit
2e310b4c
authored
May 01, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Regenerate Argument Clinic code for issue #26874.
parents
35470691
df071730
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Python/bltinmodule.c
Python/bltinmodule.c
+1
-1
Python/clinic/bltinmodule.c.h
Python/clinic/bltinmodule.c.h
+2
-2
No files found.
Python/bltinmodule.c
View file @
2e310b4c
...
...
@@ -801,7 +801,7 @@ Return the tuple (x//y, x%y). Invariant: div*y + mod == x.
static
PyObject
*
builtin_divmod_impl
(
PyModuleDef
*
module
,
PyObject
*
x
,
PyObject
*
y
)
/*[clinic end generated code: output=9ad0076120ebf9ac input=
7fdb15f8a97a5fe7
]*/
/*[clinic end generated code: output=9ad0076120ebf9ac input=
175ad9c84ff41a85
]*/
{
return
PyNumber_Divmod
(
x
,
y
);
}
...
...
Python/clinic/bltinmodule.c.h
View file @
2e310b4c
...
...
@@ -179,7 +179,7 @@ PyDoc_STRVAR(builtin_divmod__doc__,
"divmod($module, x, y, /)
\n
"
"--
\n
"
"
\n
"
"Return the tuple (
(x-x%y)
/y, x%y). Invariant: div*y + mod == x."
);
"Return the tuple (
x/
/y, x%y). Invariant: div*y + mod == x."
);
#define BUILTIN_DIVMOD_METHODDEF \
{"divmod", (PyCFunction)builtin_divmod, METH_VARARGS, builtin_divmod__doc__},
...
...
@@ -660,4 +660,4 @@ builtin_issubclass(PyModuleDef *module, PyObject *args)
exit:
return
return_value
;
}
/*[clinic end generated code: output=
bec3399c0aee98d7
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
4bef16b6aa432879
input=a9049054013a1b77]*/
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