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
b3cfc1d7
Commit
b3cfc1d7
authored
Dec 02, 2001
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #481718: Time module doc string changes.
parent
714d2e24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Modules/timemodule.c
Modules/timemodule.c
+4
-2
No files found.
Modules/timemodule.c
View file @
b3cfc1d7
...
...
@@ -289,7 +289,7 @@ time_gmtime(PyObject *self, PyObject *args)
}
static
char
gmtime_doc
[]
=
"gmtime([seconds]) ->
tuple
\n
\
"gmtime([seconds]) ->
(year,month,day,hour,minute,second,weekday,dayofyear,dst)
\n
\
\n
\
Convert seconds since the Epoch to a time tuple expressing UTC (a.k.a.
\n
\
GMT). When 'seconds' is not passed in, convert the current time instead."
;
...
...
@@ -306,7 +306,8 @@ time_localtime(PyObject *self, PyObject *args)
}
static
char
localtime_doc
[]
=
"localtime([seconds]) -> tuple
\n
\
"localtime([seconds]) -> (year,month,day,hour,minute,second,weekday,dayofyear,dst)
\n
\
\n
\
Convert seconds since the Epoch to a time tuple expressing local time.
\n
\
When 'seconds' is not passed in, convert the current time instead."
;
...
...
@@ -444,6 +445,7 @@ time_strptime(PyObject *self, PyObject *args)
static
char
strptime_doc
[]
=
"strptime(string, format) -> tuple
\n
\
\n
\
Parse a string to a time tuple according to a format specification.
\n
\
See the library reference manual for formatting codes (same as strftime())."
;
#endif
/* HAVE_STRPTIME */
...
...
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