1 # Stubs for _operator (Python 3.5)
\r
4 from typing import AnyStr
\r
6 # In reality the import is the other way around, but this way we can keep the operator stub in 2and3
\r
7 from operator import (
\r
9 contains as contains,
\r
18 floordiv as floordiv,
\r
26 length_hint as length_hint,
\r
36 ifloordiv as ifloordiv,
\r
37 itruediv as itruediv,
\r
57 itemgetter as itemgetter,
\r
58 attrgetter as attrgetter,
\r
59 methodcaller as methodcaller,
\r
61 if sys.version_info >= (3, 5):
\r
62 from operator import matmul as matmul, imatmul as imatmul
\r
64 def _compare_digest(a: AnyStr, b: AnyStr) -> bool: ...
\r