Files
openide/python/testData/completion/namedTupleInitParams.py
Semyon Proshev e5ec091587 PY-14044 Fixed: Autocomplete not working for namedtuple class constructor arguments
Add getter for namedtuple fields and use them as possible arg names for namedtuple constructor
2016-02-15 18:56:03 +03:00

4 lines
96 B
Python

from collections import namedtuple
Foo = namedtuple('Foo', 'attribute')
foo = Foo(attri<caret>)