Home
last modified time | relevance | path

Searched refs:PyDateTime_DateType (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Include/
Ddatetime.h170 #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/
Ddatetime.rst21 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/Doc/c-api/
Ddatetime.rst30 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/
Ddatetimemodule.c102 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.c20 #define PyDate_Check(op) PyObject_TypeCheck(op, &PyDateTime_DateType)
21 #define PyDate_CheckExact(op) Py_IS_TYPE(op, &PyDateTime_DateType)
132 static PyTypeObject PyDateTime_DateType; variable
872 new_date_ex(year, month, day, &PyDateTime_DateType)
884 if ((PyTypeObject *)cls == &PyDateTime_DateType) { in new_date_subclass_ex()
3566 static PyTypeObject PyDateTime_DateType = { variable
5188 &PyDateTime_DateType, &date, in datetime_combine()
6489 &PyDateTime_DateType,
6537 PyDateTime_DateTimeType.tp_base = &PyDateTime_DateType; in PyInit__datetime()
6540 &PyDateTime_DateType, in PyInit__datetime()
[all …]