forked from VimPlug/jedi
introduce maybe_docstr in parse_statement, which should have been introduced way earlier.
This commit is contained in:
@@ -81,6 +81,19 @@ def elif_flows3(x):
|
||||
#? int() set
|
||||
elif_flows3(1)
|
||||
|
||||
# -----------------
|
||||
# mid-difficulty if statements
|
||||
# -----------------
|
||||
def check(a):
|
||||
if a is None:
|
||||
return 1
|
||||
return ''
|
||||
|
||||
#? int()
|
||||
check(None)
|
||||
#? str()
|
||||
check('asb')
|
||||
|
||||
# -----------------
|
||||
# name resolution
|
||||
# -----------------
|
||||
@@ -108,3 +121,5 @@ else:
|
||||
|
||||
#? int
|
||||
a
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user