Files
openide/python/testData/stubs/NamedTupleFieldsKeyword.py
Semyon Proshev ebeaf3cb98 Support specifying namedtuple fields through keyword argument (PY-29983, PY-34134)
GitOrigin-RevId: bd3482d76bab385247df02230403ef5f721fa2db
2019-09-16 17:03:01 +00:00

3 lines
83 B
Python

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