File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -311,12 +311,12 @@ Object Protocol
311
311
returned. This is the equivalent to the Python expression ``len(o) ``.
312
312
313
313
314
- .. c :function :: Py_ssize_t PyObject_LengthHint (PyObject *o, Py_ssize_t default )
314
+ .. c :function :: Py_ssize_t PyObject_LengthHint (PyObject *o, Py_ssize_t defaultvalue )
315
315
316
316
Return an estimated length for the object *o *. First try to return its
317
317
actual length, then an estimate using :meth: `~object.__length_hint__ `, and
318
318
finally return the default value. On error return ``-1 ``. This is the
319
- equivalent to the Python expression ``operator.length_hint(o, default ) ``.
319
+ equivalent to the Python expression ``operator.length_hint(o, defaultvalue ) ``.
320
320
321
321
.. versionadded :: 3.4
322
322
You can’t perform that action at this time.
0 commit comments