Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels