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
311311 returned. This is the equivalent to the Python expression ``len(o) ``.
312312
313313
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 )
315315
316316 Return an estimated length for the object *o *. First try to return its
317317 actual length, then an estimate using :meth: `~object.__length_hint__ `, and
318318 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 ) ``.
320320
321321 .. versionadded :: 3.4
322322
You can’t perform that action at this time.
0 commit comments