You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently stdlib/3/_operator.pyi defines attrgetter as a class, which causes problems with mypy (python/mypy#2383). However, operator.pyi has a different definition that mypy is okay with, so using the same definition in _operator.pyi seems reasonable.
itemgetter and methodcaller may be similar.
The text was updated successfully, but these errors were encountered:
Currently
stdlib/3/_operator.pyi
definesattrgetter
as a class, which causes problems with mypy (python/mypy#2383). However,operator.pyi
has a different definition that mypy is okay with, so using the same definition in_operator.pyi
seems reasonable.itemgetter
andmethodcaller
may be similar.The text was updated successfully, but these errors were encountered: