I tried googling, but I haven't come across a way to use a type annotation to mark a variable as constant in pyright. I think the type Constant is more like scalar constant, rather than the C/C++ keyword const.
Any thoughts appreciated.
Thanks.
I tried googling, but I haven't come across a way to use a type annotation to mark a variable as constant in pyright. I think the type Constant is more like scalar constant, rather than the C/C++ keyword const.
Any thoughts appreciated.
Thanks.