Home
last modified time | relevance | path

Searched refs:PyDateTime_DateType (Results 1 – 3 of 3) 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/cpython2/Modules/
Ddatetimemodule.c102 static PyTypeObject PyDateTime_DateType; variable
667 new_date_ex(year, month, day, &PyDateTime_DateType)
2786 static PyTypeObject PyDateTime_DateType = { variable
4007 &PyDateTime_DateType, &date, in datetime_combine()
4727 &PyDateTime_DateType, /* tp_base */
4750 &PyDateTime_DateType,
4776 if (PyType_Ready(&PyDateTime_DateType) < 0) in initdatetime()
4806 d = PyDateTime_DateType.tp_dict; in initdatetime()
4863 Py_INCREF(&PyDateTime_DateType); in initdatetime()
4864 PyModule_AddObject(m, "date", (PyObject *) &PyDateTime_DateType); in initdatetime()