1
0
forked from VimPlug/jedi

Delete a weird comment

This commit is contained in:
Dave Halter
2020-07-02 12:33:19 +02:00
parent 546b970240
commit 7bcb420a0a
2 changed files with 1 additions and 6 deletions

View File

@@ -182,10 +182,6 @@ class CompiledValue(Value):
)
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():
for x in super().py__iter__(contextualized_node):
yield x

View File

@@ -20,8 +20,7 @@ def _add_argument_issue(error_name, lazy_value, message):
class ExecutedParamName(ParamName):
def __init__(self, function_value, arguments, param_node, lazy_value, is_default=False):
super().__init__(
function_value, param_node.name, arguments=arguments)
super().__init__(function_value, param_node.name, arguments=arguments)
self._lazy_value = lazy_value
self._is_default = is_default