summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libdatetime.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-07-02 13:42:51 (GMT)
committerFred Drake <fdrake@acm.org>2003-07-02 13:42:51 (GMT)
commit1ec0bdf899d5aa55f888cae3e48316bdc3b8635e (patch)
tree32e80743ec245375d9662008ee79003f2e78dc53 /Doc/lib/libdatetime.tex
parent2884d6de1553c0e29a7602fd68aa2ae9243bf689 (diff)
downloadcpython-1ec0bdf899d5aa55f888cae3e48316bdc3b8635e.zip
cpython-1ec0bdf899d5aa55f888cae3e48316bdc3b8635e.tar.gz
cpython-1ec0bdf899d5aa55f888cae3e48316bdc3b8635e.tar.bz2
The datetime C API really isn't usable outside the datetime module
implementation, so remove this decoy (it break formatting of the GNU info version of the docs).
Diffstat (limited to 'Doc/lib/libdatetime.tex')
-rw-r--r--Doc/lib/libdatetime.tex54
1 files changed, 0 insertions, 54 deletions
diff --git a/Doc/lib/libdatetime.tex b/Doc/lib/libdatetime.tex
index a0c2788..312a63a 100644
--- a/Doc/lib/libdatetime.tex
+++ b/Doc/lib/libdatetime.tex
@@ -1398,57 +1398,3 @@ C standard added additional format codes.
The exact range of years for which \method{strftime()} works also
varies across platforms. Regardless of platform, years before 1900
cannot be used.
-
-
-\begin{comment}
-
-\subsection{C API}
-
-Struct typedefs:
-
- PyDateTime_Date
- PyDateTime_DateTime
- PyDateTime_Time
- PyDateTime_Delta
- PyDateTime_TZInfo
-
-Type-check macros:
-
- PyDate_Check(op)
- PyDate_CheckExact(op)
-
- PyDateTime_Check(op)
- PyDateTime_CheckExact(op)
-
- PyTime_Check(op)
- PyTime_CheckExact(op)
-
- PyDelta_Check(op)
- PyDelta_CheckExact(op)
-
- PyTZInfo_Check(op)
- PyTZInfo_CheckExact(op)
-
-Accessor macros:
-
-All objects are immutable, so accessors are read-only. All macros
-return ints:
-
- For \class{date} and \class{datetime} instances:
- PyDateTime_GET_YEAR(o)
- PyDateTime_GET_MONTH(o)
- PyDateTime_GET_DAY(o)
-
- For \class{datetime} instances:
- PyDateTime_DATE_GET_HOUR(o)
- PyDateTime_DATE_GET_MINUTE(o)
- PyDateTime_DATE_GET_SECOND(o)
- PyDateTime_DATE_GET_MICROSECOND(o)
-
- For \class{time} instances:
- PyDateTime_TIME_GET_HOUR(o)
- PyDateTime_TIME_GET_MINUTE(o)
- PyDateTime_TIME_GET_SECOND(o)
- PyDateTime_TIME_GET_MICROSECOND(o)
-
-\end{comment}