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
f621232c
Commit
f621232c
authored
Dec 31, 2002
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use funcdesc instead of classdesc to be consistent with out sections.
parent
e2c64912
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/lib/libdatetime.tex
Doc/lib/libdatetime.tex
+4
-4
No files found.
Doc/lib/libdatetime.tex
View file @
f621232c
...
...
@@ -133,11 +133,12 @@ object
\subsection
{
\class
{
timedelta
}
Objects
\label
{
datetime-timedelta
}}
\begin{classdesc}
{
timedelta
}{
days=0, seconds=0, microseconds=0,
milliseconds=0, minutes=0, hours=0, weeks=0
}
A
\class
{
timedelta
}
object represents a duration, the difference
between two dates or times.
\begin{funcdesc}
{
timedelta
}{
days=0, seconds=0, microseconds=0,
milliseconds=0, minutes=0, hours=0, weeks=0
}
All arguments are optional. Arguments may be ints, longs, or floats,
and may be positive or negative.
...
...
@@ -177,8 +178,7 @@ between two dates or times.
>>> (d.days, d.seconds, d.microseconds)
(-1, 86399, 999999)
\end{verbatim}
\end{classdesc}
\end{funcdesc}
Class attributes are:
...
...
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