PyDocs
Standard Library
(3.15.2)
Quick Reference
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Functional Programming Modules
functools
itertools
operator
All modules
PyDocs
Standard Library
Quick Ref
Log In
Staging: this is not the live site, pydocs.org.
PyDocs
Standard Library
Quick Ref
Log In
Nav
Top
Examples
0
See Also
0
Notes
0
Functional Programming Modules
functools
itertools
operator
All modules
__index__
operator
function
__index__(a)
Same as a.__index__()
© Python Software Foundation.
PSF License Version 2
·
Official docs ↗
Changed in 3.10
3.10:
The result always has exact type int. Previously, the result could have been an instance of a subclass of int.
0 Examples
No examples for operator/__index__.
Log in
to add an example
See Also
No see-alsos for
operator/__index__
Log in
to add a see-also
0 Notes
No notes for
__index__
Log in
to add a note