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

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