File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1399,61 +1399,3 @@ \subsection{\method{strftime()} Behavior}
13991399varies across platforms. Regardless of platform, years before 1900
14001400cannot be used.
14011401
1402-
1403- \subsection {C API }
1404-
1405- Struct typedefs:
1406-
1407- \begin {verbatim }
1408- PyDateTime_Date
1409- PyDateTime_DateTime
1410- PyDateTime_Time
1411- PyDateTime_Delta
1412- PyDateTime_TZInfo
1413- \end {verbatim }
1414-
1415- Type-check macros:
1416-
1417- \begin {verbatim }
1418- PyDate_Check(op)
1419- PyDate_CheckExact(op)
1420-
1421- PyDateTime_Check(op)
1422- PyDateTime_CheckExact(op)
1423-
1424- PyTime_Check(op)
1425- PyTime_CheckExact(op)
1426-
1427- PyDelta_Check(op)
1428- PyDelta_CheckExact(op)
1429-
1430- PyTZInfo_Check(op)
1431- PyTZInfo_CheckExact(op)
1432- \end {verbatim }
1433-
1434- Accessor macros:
1435-
1436- All objects are immutable, so accessors are read-only. All macros
1437- return ints. For \class {date} and \class {datetime} instances:
1438- \begin {verbatim }
1439- PyDateTime_GET_YEAR(o)
1440- PyDateTime_GET_MONTH(o)
1441- PyDateTime_GET_DAY(o)
1442- \end {verbatim }
1443-
1444- For \class {datetime} instances:
1445- \begin {verbatim }
1446- PyDateTime_DATE_GET_HOUR(o)
1447- PyDateTime_DATE_GET_MINUTE(o)
1448- PyDateTime_DATE_GET_SECOND(o)
1449- PyDateTime_DATE_GET_MICROSECOND(o)
1450- \end {verbatim }
1451-
1452- For \class {time} instances:
1453- \begin {verbatim }
1454- PyDateTime_TIME_GET_HOUR(o)
1455- PyDateTime_TIME_GET_MINUTE(o)
1456- PyDateTime_TIME_GET_SECOND(o)
1457- PyDateTime_TIME_GET_MICROSECOND(o)
1458- \end {verbatim }
1459-
You can’t perform that action at this time.
0 commit comments