1
0
forked from VimPlug/jedi

Move arguments to a separate module.

This commit is contained in:
Dave Halter
2017-10-01 13:29:28 +02:00
parent b6bb251c96
commit 0762c9218c
13 changed files with 276 additions and 268 deletions

View File

@@ -181,7 +181,7 @@ def _check_for_exception_catch(node_context, jedi_name, exception, payload=None)
assert trailer.type == 'trailer'
arglist = trailer.children[1]
assert arglist.type == 'arglist'
from jedi.evaluate.param import TreeArguments
from jedi.evaluate.arguments import TreeArguments
args = list(TreeArguments(node_context.evaluator, node_context, arglist).unpack())
# Arguments should be very simple
assert len(args) == 2