[DiscordArchive] Is there any way in Python to use a NamedTuple-like syntax for creating mutable structures?
[DiscordArchive] Is there any way in Python to use a NamedTuple-like syntax for creating mutable structures?
Archived author: Quantam • Posted: 2018-06-25T05:32:37.175000+00:00
Original source
Is there any way in Python to use a NamedTuple-like syntax for creating mutable structures?
Archived author: Quantam • Posted: 2018-06-25T05:37:30.981000+00:00
Original source
Ohhhh
Archived author: Quantam • Posted: 2018-06-25T05:38:09.316000+00:00
Original source
I didn't know variables declared/assigned in a class body that have a type annotation are automatically interpreted as instance variables
Archived author: Quantam • Posted: 2018-06-25T05:38:13.890000+00:00
Original source
That's very useful to me