1
0
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:
Dave Halter
2014-03-31 12:18:53 +02:00
parent dc953d3c54
commit 9b3b28f185

View File

@@ -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]