Get rid of system
variable where possible and use sys.platform
or platform
instead to allow type hinting
#1318
Labels
proposal
Feature request to be considered
Pyright is really unhappy with defining it into a var and does not eval the code paths properly as a result.
Right now it's just hardcoded to "Linux" and used even on Windows/macOS.
t_draw does not even use the code path with
class RECT
as a result.The text was updated successfully, but these errors were encountered: