Files
openide/python/testData/stubs/FullyQualifiedNamedTuple.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
64 B
Python

import collections
nt = collections.namedtuple("name", "field")