mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
Add getter for namedtuple fields and use them as possible arg names for namedtuple constructor
4 lines
96 B
Python
4 lines
96 B
Python
from collections import namedtuple
|
|
|
|
Foo = namedtuple('Foo', 'attribute')
|
|
foo = Foo(attri<caret>) |