Fix typos in comments and docstrings (#2101)

Found by codespell:
- curent -> current (classes.py)
- suppport -> support, propeties -> properties (inference/__init__.py)
- existance -> existence (inference/analysis.py)
- Propably -> Probably (inference/value/instance.py)

Co-authored-by: maxtaran2010 <ocotifuzo727@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
max
2026-07-09 23:42:11 +00:00
committed by GitHub
co-authored by maxtaran2010 Claude Sonnet 4.6
parent 3102215478
commit ef5d361121
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ class InferenceState:
debug.dbg('execute result: %s in %s', value_set, value)
return value_set
# mypy doesn't suppport decorated propeties (https://github.com/python/mypy/issues/1362)
# mypy doesn't support decorated properties (https://github.com/python/mypy/issues/1362)
@property
@inference_state_function_cache()
def builtins_module(self):
+1 -1
View File
@@ -110,7 +110,7 @@ def _check_for_setattr(instance):
def add_attribute_error(name_context, lookup_value, name):
message = ('AttributeError: %s has no attribute %s.' % (lookup_value, name))
# Check for __getattr__/__getattribute__ existance and issue a warning
# Check for __getattr__/__getattribute__ existence and issue a warning
# instead of an error, if that happens.
typ = Error
if lookup_value.is_instance() and not lookup_value.is_compiled():
+1 -1
View File
@@ -224,7 +224,7 @@ class _BaseTreeInstance(AbstractInstanceValue):
elif isinstance(f, CompiledValueFilter):
yield CompiledInstanceClassFilter(self, f)
else:
# Propably from the metaclass.
# Probably from the metaclass.
yield f
@inference_state_method_cache()