Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge TypeVarDef and TypeVarType #9951

Merged
merged 13 commits into from
Aug 4, 2021
Prev Previous commit
Next Next commit
lint
hauntsaninja committed Aug 2, 2021
commit 4de42d86184b55893831dbe07ae81536f9b5d22d
1 change: 1 addition & 0 deletions mypy/types.py
Original file line number Diff line number Diff line change
@@ -915,6 +915,7 @@ def copy_modified(self, *,
def has_readable_member(self, name: str) -> bool:
return self.type.has_readable_member(name)


class FunctionLike(ProperType):
"""Abstract base class for function types."""