1
0
forked from VimPlug/jedi

copy fixes.

This commit is contained in:
Dave Halter
2014-11-20 14:51:01 +01:00
parent 83b09f6c1e
commit 3b7454e294

View File

@@ -232,10 +232,9 @@ def collections_namedtuple(evaluator, obj, params):
return [er.Class(evaluator, generated_class)]
def _return_first_param(evaluator, obj, params):
if len(params) == 1:
return _follow_param(evaluator, params, 0)
return []
@argument_clinic('first, /')
def _return_first_param(evaluator, firsts):
return firsts
_implemented = {