Files
openide/python/testData/stubs/NamedTupleNameKeyword.py
Semyon Proshev 848405926a Support specifying namedtuple name and fields through keyword arguments in any order (PY-29983, PY-34134)
GitOrigin-RevId: 8489e8af74b80dd3fd700a2039d97d2de985ce3b
2019-09-18 15:22:30 +00:00

3 lines
92 B
Python

from collections import namedtuple
nt = namedtuple(typename="name", field_names=["x", "y"])