We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7a464f commit cd09ad7Copy full SHA for cd09ad7
mypy/stubutil.py
@@ -832,7 +832,7 @@ def is_not_in_all(self, name: str) -> bool:
832
return False
833
834
def is_private_name(self, name: str, fullname: str | None = None) -> bool:
835
- if name.startswith("__mypy-"):
+ if "__mypy-" in name:
836
return True # Never include mypy generated symbols
837
if self._include_private:
838
0 commit comments