Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_testcapi/
Dnumbers.c9 return PyLong_FromLong(PyNumber_Check(obj)); in number_check()
/external/python/cpython3/Include/
Dabstract.h428 PyAPI_FUNC(int) PyNumber_Check(PyObject *o);
/external/python/cpython3/Modules/_io/
D_iomodule.c215 is_number = PyNumber_Check(file); in _io_open_impl()
/external/python/cpython3/Modules/_testlimitedcapi/
Dabstract.c139 return PyBool_FromLong(PyNumber_Check(obj)); in number_check()
/external/python/cpython3/Doc/c-api/
Dnumber.rst9 .. c:function:: int PyNumber_Check(PyObject *o)
/external/python/cpython3/PC/
Dpython3dll.c419 EXPORT_FUNC(PyNumber_Check)
/external/python/cpython3/Doc/data/
Dstable_abi.dat443 func,PyNumber_Check,3.2,,
Drefcounts.dat1493 PyNumber_Check:int:::
1494 PyNumber_Check:PyObject*:o:0:
Dpython3.13.abi497 …<elf-symbol name='PyNumber_Check' type='func-type' binding='global-binding' visibility='default-vi…
4432PyNumber_Check' mangled-name='PyNumber_Check' filepath='Objects/abstract.c' line='900' column='1' …
/external/python/cpython3/Modules/
D_csv.c1325 quoted = !PyNumber_Check(field); in csv_writerow()
Ditertoolsmodule.c4060 if ((long_cnt != NULL && !PyNumber_Check(long_cnt)) || in itertools_count_impl()
4061 (long_step != NULL && !PyNumber_Check(long_step))) { in itertools_count_impl()
D_tkinter.c2040 if (PyNumber_Check(arg)) { in _tkinter_tkapp_getdouble()
D_interpchannelsmodule.c2498 else if (PyNumber_Check(other)) { in channelid_richcompare()
/external/python/cpython3/Objects/
Dbytearrayobject.c654 if (PyNumber_Check(values) || PyUnicode_Check(values)) { in bytearray_ass_subscript()
Dabstract.c900 PyNumber_Check(PyObject *o) in PyNumber_Check() function
Dbytesobject.c454 if (PyNumber_Check(v)) { in formatlong()
Dexceptions.c1775 PyNumber_Check(filename)) { in oserror_init()
Dunicodeobject.c14067 if (!PyNumber_Check(v)) in mainformatlong()
/external/python/cpython3/Misc/
Dstable_abi.toml1047 [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.
/external/python/cpython3/Doc/whatsnew/
D3.8.rst1613 :class:`~fractions.Fraction`). :c:func:`PyNumber_Check` will now return