Searched refs:PyDateTime_DateType (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Include/ |
D | datetime.h | 170 #define PyDate_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateType) 171 #define PyDate_CheckExact(op) (Py_TYPE(op) == &PyDateTime_DateType)
|
/external/python/cpython2/Doc/c-api/ |
D | datetime.rst | 21 Return true if *ob* is of type :c:data:`PyDateTime_DateType` or a subtype of 22 :c:data:`PyDateTime_DateType`. *ob* must not be *NULL*. 29 Return true if *ob* is of type :c:data:`PyDateTime_DateType`. *ob* must not be
|
/external/python/cpython3/Include/ |
D | datetime.h | 186 #define PyDate_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateType) 187 #define PyDate_CheckExact(op) (Py_TYPE(op) == &PyDateTime_DateType)
|
/external/python/cpython3/Doc/c-api/ |
D | datetime.rst | 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*. 36 Return true if *ob* is of type :c:data:`PyDateTime_DateType`. *ob* must not be
|
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 102 static PyTypeObject PyDateTime_DateType; variable 667 new_date_ex(year, month, day, &PyDateTime_DateType) 2791 static PyTypeObject PyDateTime_DateType = { variable 4010 &PyDateTime_DateType, &date, in datetime_combine() 4729 &PyDateTime_DateType, /* tp_base */ 4752 &PyDateTime_DateType, 4778 if (PyType_Ready(&PyDateTime_DateType) < 0) in initdatetime() 4808 d = PyDateTime_DateType.tp_dict; in initdatetime() 4865 Py_INCREF(&PyDateTime_DateType); in initdatetime() 4866 PyModule_AddObject(m, "date", (PyObject *) &PyDateTime_DateType); in initdatetime()
|
/external/python/cpython3/Modules/ |
D | _datetimemodule.c | 116 static PyTypeObject PyDateTime_DateType; variable 855 new_date_ex(year, month, day, &PyDateTime_DateType) 867 if ((PyTypeObject *)cls == &PyDateTime_DateType) { in new_date_subclass_ex() 3327 static PyTypeObject PyDateTime_DateType = { variable 4950 &PyDateTime_DateType, &date, in datetime_combine() 6225 &PyDateTime_DateType, /* tp_base */ 6248 &PyDateTime_DateType, 6291 if (PyType_Ready(&PyDateTime_DateType) < 0) in PyInit__datetime() 6323 d = PyDateTime_DateType.tp_dict; in PyInit__datetime() 6417 Py_INCREF(&PyDateTime_DateType); in PyInit__datetime() [all …]
|