diff options
author | Skip Montanaro <skip@pobox.com> | 2003-07-16 21:14:35 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2003-07-16 21:14:35 (GMT) |
commit | bfa6872260d2d5a98e6eea69db32c0a4695b6f21 (patch) | |
tree | 3bb1315d27d79aa4601f36ca5b40ca1901920a93 /Doc | |
parent | aa9b39f9105a82c054b000ad4497373b22a0e349 (diff) | |
download | cpython-bfa6872260d2d5a98e6eea69db32c0a4695b6f21.zip cpython-bfa6872260d2d5a98e6eea69db32c0a4695b6f21.tar.gz cpython-bfa6872260d2d5a98e6eea69db32c0a4695b6f21.tar.bz2 |
Zap the C API subsection altogether for now. It's not actually usable from
C yet anyway.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libdatetime.tex | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/Doc/lib/libdatetime.tex b/Doc/lib/libdatetime.tex index 2151854..1d61873 100644 --- a/Doc/lib/libdatetime.tex +++ b/Doc/lib/libdatetime.tex @@ -1399,61 +1399,3 @@ The exact range of years for which \method{strftime()} works also varies across platforms. Regardless of platform, years before 1900 cannot be used. - -\subsection{C API} - -Struct typedefs: - -\begin{verbatim} - PyDateTime_Date - PyDateTime_DateTime - PyDateTime_Time - PyDateTime_Delta - PyDateTime_TZInfo -\end{verbatim} - -Type-check macros: - -\begin{verbatim} - 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) -\end{verbatim} - -Accessor macros: - -All objects are immutable, so accessors are read-only. All macros -return ints. For \class{date} and \class{datetime} instances: -\begin{verbatim} - PyDateTime_GET_YEAR(o) - PyDateTime_GET_MONTH(o) - PyDateTime_GET_DAY(o) -\end{verbatim} - -For \class{datetime} instances: -\begin{verbatim} - PyDateTime_DATE_GET_HOUR(o) - PyDateTime_DATE_GET_MINUTE(o) - PyDateTime_DATE_GET_SECOND(o) - PyDateTime_DATE_GET_MICROSECOND(o) -\end{verbatim} - -For \class{time} instances: -\begin{verbatim} - PyDateTime_TIME_GET_HOUR(o) - PyDateTime_TIME_GET_MINUTE(o) - PyDateTime_TIME_GET_SECOND(o) - PyDateTime_TIME_GET_MICROSECOND(o) -\end{verbatim} - |