Home
last modified time | relevance | path

Searched refs:PySequence_Fast (Results 1 – 22 of 22) sorted by relevance

/third_party/python/Doc/c-api/
Dsequence.rst131 .. c:function:: PyObject* PySequence_Fast(PyObject *o, const char *m)
134 ``PySequence_Fast*`` family of functions. If the object is not a sequence or
138 The ``PySequence_Fast*`` functions are thus named because they assume
149 :c:func:`PySequence_Fast` and that *o* is not ``NULL``. The size can also be
158 :c:func:`PySequence_Fast`, *o* is not ``NULL``, and that *i* is within bounds.
164 by :c:func:`PySequence_Fast` and *o* is not ``NULL``.
/third_party/python/Objects/stringlib/
Djoin.h25 seq = PySequence_Fast(iterable, "can only join an iterable"); in STRINGLIB()
/third_party/python/Modules/_ctypes/
Dstgdict.c214 fieldlist = PySequence_Fast(fields, "_fields_ must be a sequence"); in MakeFields()
295 anon_names = PySequence_Fast(anon, "_anonymous_ must be a sequence"); in MakeAnonFields()
/third_party/python/Include/
Dabstract.h715 PyAPI_FUNC(PyObject *) PySequence_Fast(PyObject *o, const char* m);
/third_party/python/Objects/
Dstructseq.c159 arg = PySequence_Fast(arg, "constructor requires a sequence"); in structseq_new_impl()
Dlistobject.c649 v_as_SF = PySequence_Fast(v, "can only assign an iterable"); in list_ass_slice()
877 iterable = PySequence_Fast(iterable, "argument must be iterable"); in list_extend()
2976 seq = PySequence_Fast(value, in list_ass_subscript()
Dabstract.c2152 PySequence_Fast(PyObject *v, const char *m) in PySequence_Fast() function
Ddictobject.c2490 fast = PySequence_Fast(item, ""); in PyDict_MergeFromSeq2()
Dunicodeobject.c10373 fseq = PySequence_Fast(seq, "can only join an iterable"); in PyUnicode_Join()
/third_party/python/Modules/
D_posixsubprocess.c797 fast_args = PySequence_Fast(process_args, "argv must be a tuple"); in subprocess_fork_exec()
D_abc.c323 PyObject *it = PySequence_Fast( in compute_abstract_methods()
Dselectmodule.c124 fast_seq = PySequence_Fast(seq, "arguments 1-3 must be sequences"); in seq2set()
2136 seq = PySequence_Fast(changelist, "changelist is not iterable"); in select_kqueue_control_impl()
D_elementtree.c1192 seq = PySequence_Fast(elements, ""); in _elementtree_Element_extend()
1874 seq = PySequence_Fast(value, ""); in element_ass_subscr()
4073 if (!(events_seq = PySequence_Fast(events_to_report, in _elementtree_XMLParser__setevents_impl()
D_winapi.c905 value_fast = PySequence_Fast(value, "handle_list must be a sequence or None"); in gethandlelist()
D_json.c1669 s_fast = PySequence_Fast(seq, "_iterencode_list needs a sequence"); in encoder_listencode_list()
Dsocketmodule.c4037 if ((fast = PySequence_Fast(buffers_arg, in sock_recvmsg_into()
4362 data_fast = PySequence_Fast(data_arg, in sock_sendmsg_iovec()
4471 if ((cmsg_fast = PySequence_Fast(cmsg_arg,
Dposixmodule.c6029 seq = PySequence_Fast(file_actions, in parse_file_actions()
/third_party/python/Doc/data/
Dstable_abi.dat534 function,PySequence_Fast,3.2,
Drefcounts.dat1947 PySequence_Fast:PyObject*::+1:
1948 PySequence_Fast:PyObject*:v:0:
1949 PySequence_Fast:const char*:m::
/third_party/python/PC/
Dpython3dll.c497 EXPORT_FUNC(PySequence_Fast)
/third_party/python/Misc/
Dstable_abi.txt1149 function PySequence_Fast
DHISTORY23757 NULL result from PySequence_Fast(), more quickly than calling
24721 list(), tuple() (PySequence_Tuple() and PySequence_Fast() in C API)