温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有

bpo-40334: Avoid collisions between parser variables and grammar variables by pablogsal · Pull Request #19987 · python/cpython · GitHub

来源:github.com

With this PR, all pegen-autogenerated variables have a __ prefix and we check now that rule names and variable names do not start with __. I find this far easier and robust than special-case individual name of variables …

以上为公开页面信息摘要,完整内容请前往原网站阅读。

前往原网站阅读全文

热门推荐记录