Files
openide/python/testData/stubs/NamedTupleFieldsSequence.py
Semyon Proshev 8fc1ce6913 PyNamedTupleStub:
creating: check that namedtuple(...) is called, locally resolve tuple name and fields
IO: deserialize and serialize: callee name, tuple name, fields number and fields names
using: update PyStdlibTypeProvider to use stubs for namedtuples
2016-03-23 20:58:57 +03:00

3 lines
71 B
Python

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