Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
completion
/
passedNamedTupleAttributes.py
blob: 742ddfcd8208dc03032299e17341a89c226200ae [
file
]
from
collections
import
namedtuple
foofields
=
'bar'
,
'xyzzy'
nt
=
namedtuple
(
'foo'
,
foofields
)
o
=
nt
(
1
,
2
)
print
o
.
xyz
<
caret
>