Home
last modified time | relevance | path

Searched refs:PyNumber_Check (Results 1 – 19 of 19) sorted by relevance

/third_party/python/Objects/
Dinterpreteridobject.c205 else if (PyNumber_Check(other)) { in interpid_richcompare()
Dbytearrayobject.c656 if (PyNumber_Check(values) || PyUnicode_Check(values)) { in bytearray_ass_subscript()
Dabstract.c830 PyNumber_Check(PyObject *o) in PyNumber_Check() function
Dexceptions.c894 PyNumber_Check(filename)) { in oserror_init()
Dbytesobject.c495 if (PyNumber_Check(v)) { in formatlong()
Dunicodeobject.c14892 if (!PyNumber_Check(v)) in mainformatlong()
/third_party/python/Include/
Dabstract.h417 PyAPI_FUNC(int) PyNumber_Check(PyObject *o);
/third_party/python/Modules/_io/
D_iomodule.c254 is_number = PyNumber_Check(file); in _io_open_impl()
/third_party/python/Doc/c-api/
Dnumber.rst9 .. c:function:: int PyNumber_Check(PyObject *o)
/third_party/python/Doc/data/
Dstable_abi.dat411 function,PyNumber_Check,3.2,
Drefcounts.dat1430 PyNumber_Check:int:::
1431 PyNumber_Check:PyObject*:o:0:
/third_party/python/PC/
Dpython3dll.c387 EXPORT_FUNC(PyNumber_Check)
/third_party/python/Modules/
D_csv.c1265 quoted = !PyNumber_Check(field); in csv_writerow()
Ditertoolsmodule.c4178 if ((long_cnt != NULL && !PyNumber_Check(long_cnt)) || in itertools_count_impl()
4179 (long_step != NULL && !PyNumber_Check(long_step))) { in itertools_count_impl()
D_xxsubinterpretersmodule.c1634 else if (PyNumber_Check(other)) { in channelid_richcompare()
D_tkinter.c2092 if (PyNumber_Check(arg)) { in _tkinter_tkapp_getdouble()
/third_party/python/Misc/
Dstable_abi.txt942 function PyNumber_Check
DHISTORY22238 - PyNumber_Check() now checks that the object has a nb_int or nb_float
23156 - PyNumber_Check() now returns true for string and unicode objects.
23159 PyNumber_Check() is not very useful to determine numeric behavior.
/third_party/python/Doc/whatsnew/
D3.8.rst1608 :class:`~fractions.Fraction`). :c:func:`PyNumber_Check` will now return