spylang/spy

Add support for chained comparisons

开放

#249 创建于 2025年10月4日

 (0 条评论) (0 个反应) (0 位负责人)Python (60 个派生)auto 404
help wanted

仓库指标

星标
 (803 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

def main() -> None:
    if 1 < 2 < 3:
        print('hello')
❯ spy /tmp/x.spy 
ParseError: not implemented yet: chained comparisons
   --> /tmp/x.spy:2:16
  2 |     if 1 < 2 < 3:
    |                ^ this is not supported

贡献者指南