1
0
forked from VimPlug/jedi

test for multiple docstring imports with complicated lists and tuples

This commit is contained in:
Dave Halter
2014-03-27 20:05:39 +01:00
parent eea2d0c8c5
commit 2f71bd4e63

View File

@@ -47,7 +47,7 @@ f()
class ProgramNode():
pass
def func(node, node2):
def local_classes(node, node2):
"""
:type node: ProgramNode
... and the class definition after this func definition:
@@ -62,6 +62,21 @@ class ProgramNode2():
pass
def list_with_non_imports(lst):
"""
Should be able to work with tuples and lists and still import stuff.
:type lst: (threading.Thread, [collections.OrderedDict, ...])
"""
#? ['start']
lst[0].start
import collections as col
# use some weird index
#? col.OrderedDict()
lst[1][10]
# -----------------
# epydoc style
# -----------------