Files
openide/python/testData/stubs/ImportedNamedTupleName.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

4 lines
88 B
Python

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