News

Bug report In Python 3.11.0b3 subclasses of generic classes seems to have started requiring explicitly filling in all the super-classes type vars, even though the subclass isn't supposed to be generic ...
Using Python 3.8.9 on the other hand, produces the following output: foo.pyi:2: error: "type" expects no type arguments, but 1 given It's weird that generic dict works, but generic type doesn't.
Lean to Code in Python — Part One: Variables, Input and Output. 2012-02-25T07:58:42Z Share. Facebook Email X LinkedIn Copy link. An icon in the shape of a lightning bolt. Impact Link. Save Saved ...