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
d6a61f23
Commit
d6a61f23
authored
Oct 19, 2018
by
Chris Barker
Committed by
Victor Stinner
Oct 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Elaborate datetime.timedelta docstring (GH-7458)
parent
8deab967
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Modules/_datetimemodule.c
Modules/_datetimemodule.c
+5
-1
No files found.
Modules/_datetimemodule.c
View file @
d6a61f23
...
...
@@ -2641,7 +2641,11 @@ static PyMethodDef delta_methods[] = {
};
static
const
char
delta_doc
[]
=
PyDoc_STR
(
"Difference between two datetime values."
);
PyDoc_STR
(
"Difference between two datetime values.
\n\n
"
"timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, "
"minutes=0, hours=0, weeks=0)
\n\n
"
"All arguments are optional and default to 0.
\n
"
"Arguments may be integers or floats, and may be positive or negative."
);
static
PyNumberMethods
delta_as_number
=
{
delta_add
,
/* nb_add */
...
...
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