Closed qutebrowser-bot closed 2 months ago
The new mypy release has a couple of interesting additions.
There is a new type
statement as syntax sugar for declaring a type alias (not to be confused with the type()
builtin!).
There is a new TypeIs
annotation to do more powerful type narrowing (it says if you use isinstance()
in a conditional on a variable that can only be two types it does narrow the positive branch but not the negative one, really?).
Changed files
Version updates
I'm a bot, bleep, bloop. :robot: