Home
last modified time | relevance | path

Searched refs:PyDateTime_DateTimeType (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Include/
Ddatetime.h173 #define PyDateTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateTimeType)
174 #define PyDateTime_CheckExact(op) (Py_TYPE(op) == &PyDateTime_DateTimeType)
/external/python/cpython2/Doc/c-api/
Ddatetime.rst37 Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType` or a subtype of
38 :c:data:`PyDateTime_DateTimeType`. *ob* must not be *NULL*.
45 Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType`. *ob* must not
/external/python/cpython3/Include/
Ddatetime.h189 #define PyDateTime_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateTimeType)
190 #define PyDateTime_CheckExact(op) (Py_TYPE(op) == &PyDateTime_DateTimeType)
/external/python/cpython3/Doc/c-api/
Ddatetime.rst42 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*.
48 Return true if *ob* is of type :c:data:`PyDateTime_DateTimeType`. *ob* must not
/external/python/cpython2/Modules/
Ddatetimemodule.c103 static PyTypeObject PyDateTime_DateTimeType; variable
695 &PyDateTime_DateTimeType)
4697 statichere PyTypeObject PyDateTime_DateTimeType = { variable
4753 &PyDateTime_DateTimeType,
4780 if (PyType_Ready(&PyDateTime_DateTimeType) < 0) in initdatetime()
4844 d = PyDateTime_DateTimeType.tp_dict; in initdatetime()
4868 Py_INCREF(&PyDateTime_DateTimeType); in initdatetime()
4870 (PyObject *)&PyDateTime_DateTimeType); in initdatetime()
/external/python/cpython3/Modules/
D_datetimemodule.c117 static PyTypeObject PyDateTime_DateTimeType; variable
870 else if ((PyTypeObject *)cls == &PyDateTime_DateTimeType) { in new_date_subclass_ex()
926 &PyDateTime_DateTimeType)
933 if ((PyTypeObject*)cls == &PyDateTime_DateTimeType) { in new_datetime_subclass_fold_ex()
6194 static PyTypeObject PyDateTime_DateTimeType = { variable
6249 &PyDateTime_DateTimeType,
6293 if (PyType_Ready(&PyDateTime_DateTimeType) < 0) in PyInit__datetime()
6359 d = PyDateTime_DateTimeType.tp_dict; in PyInit__datetime()
6420 Py_INCREF(&PyDateTime_DateTimeType); in PyInit__datetime()
6422 (PyObject *)&PyDateTime_DateTimeType); in PyInit__datetime()