2 ms·
This is no longer needed with modern python, you can use class Foo: my_int: int To handle this. That said, for the second case, a variable that ma
by joshuamorton 4y ago
This is no longer needed with modern python, you can use
class Foo:
my_int: int
To handle this. That said, for the second case, a variable that may be set to something but may not be is optional! That's correct behavior!