Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ec0bdf

Browse files
committed
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).
1 parent 2884d6d commit 1ec0bdf

1 file changed

Lines changed: 0 additions & 54 deletions

File tree

Doc/lib/libdatetime.tex

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,57 +1398,3 @@ \subsection{\method{strftime()} Behavior}
13981398
The exact range of years for which \method{strftime()} works also
13991399
varies across platforms. Regardless of platform, years before 1900
14001400
cannot be used.
1401-
1402-
1403-
\begin{comment}
1404-
1405-
\subsection{C API}
1406-
1407-
Struct typedefs:
1408-
1409-
PyDateTime_Date
1410-
PyDateTime_DateTime
1411-
PyDateTime_Time
1412-
PyDateTime_Delta
1413-
PyDateTime_TZInfo
1414-
1415-
Type-check macros:
1416-
1417-
PyDate_Check(op)
1418-
PyDate_CheckExact(op)
1419-
1420-
PyDateTime_Check(op)
1421-
PyDateTime_CheckExact(op)
1422-
1423-
PyTime_Check(op)
1424-
PyTime_CheckExact(op)
1425-
1426-
PyDelta_Check(op)
1427-
PyDelta_CheckExact(op)
1428-
1429-
PyTZInfo_Check(op)
1430-
PyTZInfo_CheckExact(op)
1431-
1432-
Accessor macros:
1433-
1434-
All objects are immutable, so accessors are read-only. All macros
1435-
return ints:
1436-
1437-
For \class{date} and \class{datetime} instances:
1438-
PyDateTime_GET_YEAR(o)
1439-
PyDateTime_GET_MONTH(o)
1440-
PyDateTime_GET_DAY(o)
1441-
1442-
For \class{datetime} instances:
1443-
PyDateTime_DATE_GET_HOUR(o)
1444-
PyDateTime_DATE_GET_MINUTE(o)
1445-
PyDateTime_DATE_GET_SECOND(o)
1446-
PyDateTime_DATE_GET_MICROSECOND(o)
1447-
1448-
For \class{time} instances:
1449-
PyDateTime_TIME_GET_HOUR(o)
1450-
PyDateTime_TIME_GET_MINUTE(o)
1451-
PyDateTime_TIME_GET_SECOND(o)
1452-
PyDateTime_TIME_GET_MICROSECOND(o)
1453-
1454-
\end{comment}

0 commit comments

Comments
 (0)