forked from VimPlug/jedi
copy fixes.
This commit is contained in:
@@ -232,10 +232,9 @@ def collections_namedtuple(evaluator, obj, params):
|
|||||||
return [er.Class(evaluator, generated_class)]
|
return [er.Class(evaluator, generated_class)]
|
||||||
|
|
||||||
|
|
||||||
def _return_first_param(evaluator, obj, params):
|
@argument_clinic('first, /')
|
||||||
if len(params) == 1:
|
def _return_first_param(evaluator, firsts):
|
||||||
return _follow_param(evaluator, params, 0)
|
return firsts
|
||||||
return []
|
|
||||||
|
|
||||||
|
|
||||||
_implemented = {
|
_implemented = {
|
||||||
|
|||||||
Reference in New Issue
Block a user