mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
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.
|
||||
|
||||
:type lst: (threading.Thread, [collections.OrderedDict, ...])
|
||||
:type lst: (threading.Thread, [collections.defaultdict, ...])
|
||||
"""
|
||||
#? ['start']
|
||||
lst[0].start
|
||||
|
||||
import collections as col
|
||||
# use some weird index
|
||||
#? col.OrderedDict()
|
||||
#? col.defaultdict()
|
||||
lst[1][10]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user