mypy
fee44225 - stubgen: Use NamedTuple class syntax (#10625)

Commit
5 years ago
stubgen: Use NamedTuple class syntax (#10625) ### Description Use `typing.NamedTuple` in stubgen, instead of `collections.namedtuple`. ## Test Plan I modified the existing tests and added another test for an empty namedtuple, to ensure that `Any` is not imported unnecessarily.
Author
Committer
Parents
Loading