mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
whatsnew: PEP 424 implementation.
This commit is contained in:
parent
d840b8d613
commit
e8db162f62
4 changed files with 21 additions and 5 deletions
|
@ -240,9 +240,9 @@ their character equivalents.
|
|||
|
||||
.. function:: length_hint(obj, default=0)
|
||||
|
||||
Return an estimated length for the object *o*. First trying to return its
|
||||
Return an estimated length for the object *o*. First try to return its
|
||||
actual length, then an estimate using :meth:`object.__length_hint__`, and
|
||||
finally returning the default value.
|
||||
finally return the default value.
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue