mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
19 lines
299 B
Python
19 lines
299 B
Python
|
|
a, b = {'asdf': 3, 'b': 'str'}
|
|
a
|
|
|
|
x = [1]
|
|
x[0], b = {'a': 1, 'b': '2'}
|
|
|
|
dct = {3: ''}
|
|
for x in dct:
|
|
pass
|
|
|
|
#! 4 type-error-not-iterable
|
|
for x, y in dct:
|
|
pass
|
|
|
|
# Shouldn't cause issues, because if there are no types (or we don't know what
|
|
# the types are, we should just ignore it.
|
|
a, b = []
|