pylint-bot / test

0 stars 0 forks source link

Add support for unpacking dicts in assignment #268

Open pylint-bot opened 9 years ago

pylint-bot commented 9 years ago

Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore?)


#!python

from astroid.test_utils import extract_node
n = extract_node('''
a, b = {1:2, 2:3}
a
''')
print(next(n.infer()))