@@ -28,61 +28,66 @@ Type-check macros:
28
28
.. c :function :: int PyDate_Check (PyObject *ob)
29
29
30
30
Return true if *ob * is of type :c:data: `PyDateTime_DateType ` or a subtype of
31
- :c:data: `PyDateTime_DateType `. *ob * must not be ``NULL ``.
31
+ :c:data: `PyDateTime_DateType `. *ob * must not be ``NULL ``. This function always
32
+ succeeds.
32
33
33
34
34
35
.. c :function :: int PyDate_CheckExact (PyObject *ob)
35
36
36
37
Return true if *ob * is of type :c:data: `PyDateTime_DateType `. *ob * must not be
37
- ``NULL ``.
38
+ ``NULL ``. This function always succeeds.
38
39
39
40
40
41
.. c :function :: int PyDateTime_Check (PyObject *ob)
41
42
42
43
Return true if *ob * is of type :c:data: `PyDateTime_DateTimeType ` or a subtype of
43
- :c:data: `PyDateTime_DateTimeType `. *ob * must not be ``NULL ``.
44
+ :c:data: `PyDateTime_DateTimeType `. *ob * must not be ``NULL ``. This function always
45
+ succeeds.
44
46
45
47
46
48
.. c :function :: int PyDateTime_CheckExact (PyObject *ob)
47
49
48
50
Return true if *ob * is of type :c:data: `PyDateTime_DateTimeType `. *ob * must not
49
- be ``NULL ``.
51
+ be ``NULL ``. This function always succeeds.
50
52
51
53
52
54
.. c :function :: int PyTime_Check (PyObject *ob)
53
55
54
56
Return true if *ob * is of type :c:data: `PyDateTime_TimeType ` or a subtype of
55
- :c:data: `PyDateTime_TimeType `. *ob * must not be ``NULL ``.
57
+ :c:data: `PyDateTime_TimeType `. *ob * must not be ``NULL ``. This function always
58
+ succeeds.
56
59
57
60
58
61
.. c :function :: int PyTime_CheckExact (PyObject *ob)
59
62
60
63
Return true if *ob * is of type :c:data: `PyDateTime_TimeType `. *ob * must not be
61
- ``NULL ``.
64
+ ``NULL ``. This function always succeeds.
62
65
63
66
64
67
.. c :function :: int PyDelta_Check (PyObject *ob)
65
68
66
69
Return true if *ob * is of type :c:data: `PyDateTime_DeltaType ` or a subtype of
67
- :c:data: `PyDateTime_DeltaType `. *ob * must not be ``NULL ``.
70
+ :c:data: `PyDateTime_DeltaType `. *ob * must not be ``NULL ``. This function always
71
+ succeeds.
68
72
69
73
70
74
.. c :function :: int PyDelta_CheckExact (PyObject *ob)
71
75
72
76
Return true if *ob * is of type :c:data: `PyDateTime_DeltaType `. *ob * must not be
73
- ``NULL ``.
77
+ ``NULL ``. This function always succeeds.
74
78
75
79
76
80
.. c :function :: int PyTZInfo_Check (PyObject *ob)
77
81
78
82
Return true if *ob * is of type :c:data: `PyDateTime_TZInfoType ` or a subtype of
79
- :c:data: `PyDateTime_TZInfoType `. *ob * must not be ``NULL ``.
83
+ :c:data: `PyDateTime_TZInfoType `. *ob * must not be ``NULL ``. This function always
84
+ succeeds.
80
85
81
86
82
87
.. c :function :: int PyTZInfo_CheckExact (PyObject *ob)
83
88
84
89
Return true if *ob * is of type :c:data: `PyDateTime_TZInfoType `. *ob * must not be
85
- ``NULL ``.
90
+ ``NULL ``. This function always succeeds.
86
91
87
92
88
93
Macros to create objects:
0 commit comments