diff --git a/jedi/api/classes.py b/jedi/api/classes.py index 1fe89944..747fc02a 100644 --- a/jedi/api/classes.py +++ b/jedi/api/classes.py @@ -831,7 +831,7 @@ class Signature(BaseSignature): def index(self): """ Returns the param index of the current cursor position. - Returns None if the index cannot be found in the curent call. + Returns None if the index cannot be found in the current call. :rtype: int """ diff --git a/jedi/inference/__init__.py b/jedi/inference/__init__.py index 1f548422..f6f5c7a8 100644 --- a/jedi/inference/__init__.py +++ b/jedi/inference/__init__.py @@ -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): diff --git a/jedi/inference/analysis.py b/jedi/inference/analysis.py index c272a9cb..ec1b7366 100644 --- a/jedi/inference/analysis.py +++ b/jedi/inference/analysis.py @@ -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(): diff --git a/jedi/inference/value/instance.py b/jedi/inference/value/instance.py index e397773d..2080b9ad 100644 --- a/jedi/inference/value/instance.py +++ b/jedi/inference/value/instance.py @@ -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()