forked from VimPlug/jedi
use defaultdict instead of OrderedDict for testing purposes, since OrderedDict is not supported in Python 2.6
This commit is contained in:
@@ -66,14 +66,14 @@ def list_with_non_imports(lst):
|
|||||||
"""
|
"""
|
||||||
Should be able to work with tuples and lists and still import stuff.
|
Should be able to work with tuples and lists and still import stuff.
|
||||||
|
|
||||||
:type lst: (threading.Thread, [collections.OrderedDict, ...])
|
:type lst: (threading.Thread, [collections.defaultdict, ...])
|
||||||
"""
|
"""
|
||||||
#? ['start']
|
#? ['start']
|
||||||
lst[0].start
|
lst[0].start
|
||||||
|
|
||||||
import collections as col
|
import collections as col
|
||||||
# use some weird index
|
# use some weird index
|
||||||
#? col.OrderedDict()
|
#? col.defaultdict()
|
||||||
lst[1][10]
|
lst[1][10]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user