mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
Don't cast reference type returned by a type provider to an instance type. It should know better what type to return.
5 lines
84 B
Python
5 lines
84 B
Python
import collections
|
|
|
|
Point = collections.namedtuple('Point', 'x y')
|
|
p1 = Point(1, 2)
|