Documentation
Should the section about slicing go in the section below or somewhere else? It seems irrelevant here:
https://docs.python.org/3/reference/datamodel.html#object.__length_hint__
object.__length_hint__(self)
...
Added in version 3.4.
Note Slicing is done exclusively with the following three methods. A call like
a[1:2] = b
...
Linked PRs
Documentation
Should the section about slicing go in the section below or somewhere else? It seems irrelevant here:
https://docs.python.org/3/reference/datamodel.html#object.__length_hint__
object.__length_hint__(self)...
Added in version 3.4.
Note Slicing is done exclusively with the following three methods. A call like
a[1:2] = b...
Linked PRs