File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -123,10 +123,10 @@ Sequence Protocol
123
123
124
124
.. c :function :: PyObject* PySequence_Fast (PyObject *o, const char *m)
125
125
126
- Returns the sequence *o * as a tuple , unless it is already a tuple or list, in
127
- which case *o * is returned. Use :c:func: `PySequence_Fast_GET_ITEM ` to access the
128
- members of the result. Returns *NULL * on failure. If the object is not a
129
- sequence, raises :exc: `TypeError ` with *m * as the message text.
126
+ Return the sequence *o * as a list , unless it is already a tuple or list, in
127
+ which case *o * is returned. Use :c:func: `PySequence_Fast_GET_ITEM ` to access
128
+ the members of the result. Returns *NULL * on failure. If the object is not
129
+ a sequence, raises :exc: `TypeError ` with *m * as the message text.
130
130
131
131
132
132
.. c :function :: PyObject* PySequence_Fast_GET_ITEM (PyObject *o, Py_ssize_t i)
You can’t perform that action at this time.
0 commit comments