24 Aug
2014
24 Aug
'14
1:11 a.m.
Georg Brandl wrote:
Another thought is whether, assuming
class MyList(list): ...
the type "MyList[int]" would do the expected thing. (And if not, how you would write the correct type generation code.)
I would expect that to be a error, unless MyList were declared as accepting a type parameter, using whatever means is decided on for that in the type language. -- Greg