Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试过谷歌搜索,但我还没有找到一种方法来使用类型注释将变量标记为 pyright 中的常量。我认为常量类型更像是标量常量,而不是 C/C++ 关键字 const。
任何想法表示赞赏。
谢谢。