forked from VimPlug/jedi
Delete a weird comment
This commit is contained in:
@@ -182,10 +182,6 @@ class CompiledValue(Value):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def py__iter__(self, contextualized_node=None):
|
def py__iter__(self, contextualized_node=None):
|
||||||
# Python iterators are a bit strange, because there's no need for
|
|
||||||
# the __iter__ function as long as __getitem__ is defined (it will
|
|
||||||
# just start with __getitem__(0). This is especially true for
|
|
||||||
# Python 2 strings, where `str.__iter__` is not even defined.
|
|
||||||
if not self.access_handle.has_iter():
|
if not self.access_handle.has_iter():
|
||||||
for x in super().py__iter__(contextualized_node):
|
for x in super().py__iter__(contextualized_node):
|
||||||
yield x
|
yield x
|
||||||
|
|||||||
@@ -20,8 +20,7 @@ def _add_argument_issue(error_name, lazy_value, message):
|
|||||||
|
|
||||||
class ExecutedParamName(ParamName):
|
class ExecutedParamName(ParamName):
|
||||||
def __init__(self, function_value, arguments, param_node, lazy_value, is_default=False):
|
def __init__(self, function_value, arguments, param_node, lazy_value, is_default=False):
|
||||||
super().__init__(
|
super().__init__(function_value, param_node.name, arguments=arguments)
|
||||||
function_value, param_node.name, arguments=arguments)
|
|
||||||
self._lazy_value = lazy_value
|
self._lazy_value = lazy_value
|
||||||
self._is_default = is_default
|
self._is_default = is_default
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user