mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
Add getter for namedtuple fields and use them as possible arg names for namedtuple constructor
4 lines
94 B
Python
4 lines
94 B
Python
from collections import namedtuple
|
|
|
|
Foo = namedtuple('Foo', 'attribute')
|
|
foo = Foo(attribute=) |