MCPcopy Index your code
hub / github.com/python/mypy / is_self

Method is_self

mypy/types.py:585–587  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

583 return self.meta_level > 0
584
585 def is_self(self) -> bool:
586 # This is a special value indicating typing.Self variable.
587 return self.raw_id == 0
588
589
590class TypeVarLikeType(ProperType):

Callers 5

expand_callable_variantsFunction · 0.80
visit_type_varMethod · 0.80
visit_callable_typeMethod · 0.80
visit_type_varMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected