mirror of
https://github.com/davidhalter/jedi.git
synced 2026-08-16 21:58:00 +08:00
Fix typos in comments and docstrings (#2101)
ci / tests (3.10, ubuntu-24.04, 3.10) (push) Canceled after 0s
ci / tests (3.10, ubuntu-24.04, 3.11) (push) Canceled after 0s
ci / tests (3.10, ubuntu-24.04, 3.12) (push) Canceled after 0s
ci / tests (3.10, ubuntu-24.04, 3.13) (push) Canceled after 0s
ci / tests (3.10, ubuntu-24.04, 3.14) (push) Canceled after 0s
ci / tests (3.10, windows-2022, 3.10) (push) Canceled after 0s
ci / tests (3.10, windows-2022, 3.11) (push) Canceled after 0s
ci / tests (3.10, windows-2022, 3.12) (push) Canceled after 0s
ci / tests (3.10, windows-2022, 3.13) (push) Canceled after 0s
ci / tests (3.10, windows-2022, 3.14) (push) Canceled after 0s
ci / tests (3.11, ubuntu-24.04, 3.10) (push) Canceled after 0s
ci / tests (3.11, ubuntu-24.04, 3.11) (push) Canceled after 0s
ci / tests (3.11, ubuntu-24.04, 3.12) (push) Canceled after 0s
ci / tests (3.11, ubuntu-24.04, 3.13) (push) Canceled after 0s
ci / tests (3.11, ubuntu-24.04, 3.14) (push) Canceled after 0s
ci / tests (3.11, windows-2022, 3.10) (push) Canceled after 0s
ci / tests (3.11, windows-2022, 3.11) (push) Canceled after 0s
ci / tests (3.11, windows-2022, 3.12) (push) Canceled after 0s
ci / tests (3.11, windows-2022, 3.13) (push) Canceled after 0s
ci / tests (3.11, windows-2022, 3.14) (push) Canceled after 0s
ci / tests (3.12, ubuntu-24.04, 3.10) (push) Canceled after 0s
ci / tests (3.12, ubuntu-24.04, 3.11) (push) Canceled after 0s
ci / tests (3.12, ubuntu-24.04, 3.12) (push) Canceled after 0s
ci / tests (3.12, ubuntu-24.04, 3.13) (push) Canceled after 0s
ci / tests (3.12, ubuntu-24.04, 3.14) (push) Canceled after 0s
ci / tests (3.12, windows-2022, 3.10) (push) Canceled after 0s
ci / tests (3.12, windows-2022, 3.11) (push) Canceled after 0s
ci / tests (3.12, windows-2022, 3.12) (push) Canceled after 0s
ci / tests (3.12, windows-2022, 3.13) (push) Canceled after 0s
ci / tests (3.12, windows-2022, 3.14) (push) Canceled after 0s
ci / tests (3.13, ubuntu-24.04, 3.10) (push) Canceled after 0s
ci / tests (3.13, ubuntu-24.04, 3.11) (push) Canceled after 0s
ci / tests (3.13, ubuntu-24.04, 3.12) (push) Canceled after 0s
ci / tests (3.13, ubuntu-24.04, 3.13) (push) Canceled after 0s
ci / tests (3.13, ubuntu-24.04, 3.14) (push) Canceled after 0s
ci / tests (3.13, windows-2022, 3.10) (push) Canceled after 0s
ci / tests (3.13, windows-2022, 3.11) (push) Canceled after 0s
ci / tests (3.13, windows-2022, 3.12) (push) Canceled after 0s
ci / tests (3.13, windows-2022, 3.13) (push) Canceled after 0s
ci / tests (3.13, windows-2022, 3.14) (push) Canceled after 0s
ci / tests (3.14, ubuntu-24.04, 3.10) (push) Canceled after 0s
ci / tests (3.14, ubuntu-24.04, 3.11) (push) Canceled after 0s
ci / tests (3.14, ubuntu-24.04, 3.12) (push) Canceled after 0s
ci / tests (3.14, ubuntu-24.04, 3.13) (push) Canceled after 0s
ci / tests (3.14, ubuntu-24.04, 3.14) (push) Canceled after 0s
ci / tests (3.14, windows-2022, 3.10) (push) Canceled after 0s
ci / tests (3.14, windows-2022, 3.11) (push) Canceled after 0s
ci / tests (3.14, windows-2022, 3.12) (push) Canceled after 0s
ci / tests (3.14, windows-2022, 3.13) (push) Canceled after 0s
ci / tests (3.14, windows-2022, 3.14) (push) Canceled after 0s
ci / tests (interpreter, ubuntu-24.04, 3.10) (push) Canceled after 0s
ci / tests (interpreter, ubuntu-24.04, 3.11) (push) Canceled after 0s
ci / tests (interpreter, ubuntu-24.04, 3.12) (push) Canceled after 0s
ci / tests (interpreter, ubuntu-24.04, 3.13) (push) Canceled after 0s
ci / tests (interpreter, ubuntu-24.04, 3.14) (push) Canceled after 0s
ci / tests (interpreter, windows-2022, 3.10) (push) Canceled after 0s
ci / tests (interpreter, windows-2022, 3.11) (push) Canceled after 0s
ci / tests (interpreter, windows-2022, 3.12) (push) Canceled after 0s
ci / tests (interpreter, windows-2022, 3.13) (push) Canceled after 0s
ci / tests (interpreter, windows-2022, 3.14) (push) Canceled after 0s
ci / code-quality (push) Canceled after 0s
ci / coverage (push) Canceled after 0s
ci / tests (3.10, ubuntu-24.04, 3.10) (push) Canceled after 0s
ci / tests (3.10, ubuntu-24.04, 3.11) (push) Canceled after 0s
ci / tests (3.10, ubuntu-24.04, 3.12) (push) Canceled after 0s
ci / tests (3.10, ubuntu-24.04, 3.13) (push) Canceled after 0s
ci / tests (3.10, ubuntu-24.04, 3.14) (push) Canceled after 0s
ci / tests (3.10, windows-2022, 3.10) (push) Canceled after 0s
ci / tests (3.10, windows-2022, 3.11) (push) Canceled after 0s
ci / tests (3.10, windows-2022, 3.12) (push) Canceled after 0s
ci / tests (3.10, windows-2022, 3.13) (push) Canceled after 0s
ci / tests (3.10, windows-2022, 3.14) (push) Canceled after 0s
ci / tests (3.11, ubuntu-24.04, 3.10) (push) Canceled after 0s
ci / tests (3.11, ubuntu-24.04, 3.11) (push) Canceled after 0s
ci / tests (3.11, ubuntu-24.04, 3.12) (push) Canceled after 0s
ci / tests (3.11, ubuntu-24.04, 3.13) (push) Canceled after 0s
ci / tests (3.11, ubuntu-24.04, 3.14) (push) Canceled after 0s
ci / tests (3.11, windows-2022, 3.10) (push) Canceled after 0s
ci / tests (3.11, windows-2022, 3.11) (push) Canceled after 0s
ci / tests (3.11, windows-2022, 3.12) (push) Canceled after 0s
ci / tests (3.11, windows-2022, 3.13) (push) Canceled after 0s
ci / tests (3.11, windows-2022, 3.14) (push) Canceled after 0s
ci / tests (3.12, ubuntu-24.04, 3.10) (push) Canceled after 0s
ci / tests (3.12, ubuntu-24.04, 3.11) (push) Canceled after 0s
ci / tests (3.12, ubuntu-24.04, 3.12) (push) Canceled after 0s
ci / tests (3.12, ubuntu-24.04, 3.13) (push) Canceled after 0s
ci / tests (3.12, ubuntu-24.04, 3.14) (push) Canceled after 0s
ci / tests (3.12, windows-2022, 3.10) (push) Canceled after 0s
ci / tests (3.12, windows-2022, 3.11) (push) Canceled after 0s
ci / tests (3.12, windows-2022, 3.12) (push) Canceled after 0s
ci / tests (3.12, windows-2022, 3.13) (push) Canceled after 0s
ci / tests (3.12, windows-2022, 3.14) (push) Canceled after 0s
ci / tests (3.13, ubuntu-24.04, 3.10) (push) Canceled after 0s
ci / tests (3.13, ubuntu-24.04, 3.11) (push) Canceled after 0s
ci / tests (3.13, ubuntu-24.04, 3.12) (push) Canceled after 0s
ci / tests (3.13, ubuntu-24.04, 3.13) (push) Canceled after 0s
ci / tests (3.13, ubuntu-24.04, 3.14) (push) Canceled after 0s
ci / tests (3.13, windows-2022, 3.10) (push) Canceled after 0s
ci / tests (3.13, windows-2022, 3.11) (push) Canceled after 0s
ci / tests (3.13, windows-2022, 3.12) (push) Canceled after 0s
ci / tests (3.13, windows-2022, 3.13) (push) Canceled after 0s
ci / tests (3.13, windows-2022, 3.14) (push) Canceled after 0s
ci / tests (3.14, ubuntu-24.04, 3.10) (push) Canceled after 0s
ci / tests (3.14, ubuntu-24.04, 3.11) (push) Canceled after 0s
ci / tests (3.14, ubuntu-24.04, 3.12) (push) Canceled after 0s
ci / tests (3.14, ubuntu-24.04, 3.13) (push) Canceled after 0s
ci / tests (3.14, ubuntu-24.04, 3.14) (push) Canceled after 0s
ci / tests (3.14, windows-2022, 3.10) (push) Canceled after 0s
ci / tests (3.14, windows-2022, 3.11) (push) Canceled after 0s
ci / tests (3.14, windows-2022, 3.12) (push) Canceled after 0s
ci / tests (3.14, windows-2022, 3.13) (push) Canceled after 0s
ci / tests (3.14, windows-2022, 3.14) (push) Canceled after 0s
ci / tests (interpreter, ubuntu-24.04, 3.10) (push) Canceled after 0s
ci / tests (interpreter, ubuntu-24.04, 3.11) (push) Canceled after 0s
ci / tests (interpreter, ubuntu-24.04, 3.12) (push) Canceled after 0s
ci / tests (interpreter, ubuntu-24.04, 3.13) (push) Canceled after 0s
ci / tests (interpreter, ubuntu-24.04, 3.14) (push) Canceled after 0s
ci / tests (interpreter, windows-2022, 3.10) (push) Canceled after 0s
ci / tests (interpreter, windows-2022, 3.11) (push) Canceled after 0s
ci / tests (interpreter, windows-2022, 3.12) (push) Canceled after 0s
ci / tests (interpreter, windows-2022, 3.13) (push) Canceled after 0s
ci / tests (interpreter, windows-2022, 3.14) (push) Canceled after 0s
ci / code-quality (push) Canceled after 0s
ci / coverage (push) Canceled after 0s
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:
co-authored by
maxtaran2010
Claude Sonnet 4.6
parent
3102215478
commit
ef5d361121
+1
-1
@@ -831,7 +831,7 @@ class Signature(BaseSignature):
|
|||||||
def index(self):
|
def index(self):
|
||||||
"""
|
"""
|
||||||
Returns the param index of the current cursor position.
|
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
|
:rtype: int
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ class InferenceState:
|
|||||||
debug.dbg('execute result: %s in %s', value_set, value)
|
debug.dbg('execute result: %s in %s', value_set, value)
|
||||||
return value_set
|
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
|
@property
|
||||||
@inference_state_function_cache()
|
@inference_state_function_cache()
|
||||||
def builtins_module(self):
|
def builtins_module(self):
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ def _check_for_setattr(instance):
|
|||||||
|
|
||||||
def add_attribute_error(name_context, lookup_value, name):
|
def add_attribute_error(name_context, lookup_value, name):
|
||||||
message = ('AttributeError: %s has no attribute %s.' % (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.
|
# instead of an error, if that happens.
|
||||||
typ = Error
|
typ = Error
|
||||||
if lookup_value.is_instance() and not lookup_value.is_compiled():
|
if lookup_value.is_instance() and not lookup_value.is_compiled():
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ class _BaseTreeInstance(AbstractInstanceValue):
|
|||||||
elif isinstance(f, CompiledValueFilter):
|
elif isinstance(f, CompiledValueFilter):
|
||||||
yield CompiledInstanceClassFilter(self, f)
|
yield CompiledInstanceClassFilter(self, f)
|
||||||
else:
|
else:
|
||||||
# Propably from the metaclass.
|
# Probably from the metaclass.
|
||||||
yield f
|
yield f
|
||||||
|
|
||||||
@inference_state_method_cache()
|
@inference_state_method_cache()
|
||||||
|
|||||||
Reference in New Issue
Block a user