mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
5 lines
127 B
Python
5 lines
127 B
Python
from collections import namedtuple
|
|
foofields = 'bar', 'xyzzy'
|
|
nt = namedtuple('foo', foofields)
|
|
o = nt(1, 2)
|
|
print o.xyz<caret> |