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
036eae66
Commit
036eae66
authored
Jun 26, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mktime returns a float now.
parent
6076ea51
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
Doc/lib/libtime.tex
Doc/lib/libtime.tex
+3
-2
Doc/libtime.tex
Doc/libtime.tex
+3
-2
No files found.
Doc/lib/libtime.tex
View file @
036eae66
...
...
@@ -86,8 +86,9 @@ to 1 when DST applies to the given time.
\begin{funcdesc}
{
mktime
}{
tuple
}
This is the inverse function of
\code
{
localtime
}
. Its argument is the
full 9-tuple (since the dst flag is needed). It returns an integer. If the
input value can't be represented as a non-negative integer, OverflowError is raised.
full 9-tuple (since the dst flag is needed). It returns a floating
point number, for compatibility with
\code
{
time.time()
}
. If the input
value can't be represented as a valid time, OverflowError is raised.
\end{funcdesc}
\begin{funcdesc}
{
sleep
}{
secs
}
...
...
Doc/libtime.tex
View file @
036eae66
...
...
@@ -86,8 +86,9 @@ to 1 when DST applies to the given time.
\begin{funcdesc}
{
mktime
}{
tuple
}
This is the inverse function of
\code
{
localtime
}
. Its argument is the
full 9-tuple (since the dst flag is needed). It returns an integer. If the
input value can't be represented as a non-negative integer, OverflowError is raised.
full 9-tuple (since the dst flag is needed). It returns a floating
point number, for compatibility with
\code
{
time.time()
}
. If the input
value can't be represented as a valid time, OverflowError is raised.
\end{funcdesc}
\begin{funcdesc}
{
sleep
}{
secs
}
...
...
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