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
82f251ac
Commit
82f251ac
authored
Dec 31, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor markup and spelling repair.
parent
7b445faf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Doc/lib/libdatetime.tex
Doc/lib/libdatetime.tex
+3
-2
No files found.
Doc/lib/libdatetime.tex
View file @
82f251ac
...
...
@@ -163,7 +163,7 @@ between two dates or times.
If any argument is a float, and there are fractional microseconds,
the fractional microseconds left over from all arguments are combined
and their sum is rounded to the nearest microsecond. If no
argument is a flo
s
t, the conversion and normalization processes
argument is a flo
a
t, the conversion and normalization processes
are exact (no information is lost).
If the normalized value of days lies outside the indicated range,
...
...
@@ -489,7 +489,7 @@ calendar extended in both directions; like a time object,
\class
{
datetime
}
assumes there are exactly 3600*24 seconds in every
day.
\begin{funcdesc}
datetime
{
year, month, day,
\begin{funcdesc}
{
datetime
}
{
year, month, day,
hour=0, minute=0, second=0, microsecond=0
}
The year, month and day arguments are required. Arguments may be ints
or longs, in the following ranges:
...
...
@@ -882,6 +882,7 @@ implement all of them.
\begin{verbatim}
return CONSTANT # fixed-offset class
return CONSTANT + self.dst(dt) # daylight-aware class
\end{verbatim}
\end{methoddesc}
\begin{methoddesc}
{
tzname
}{
self, dt
}
...
...
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