• Victor Stinner's avatar
    Replace noop constant statement with expression · 51d8c526
    Victor Stinner yazdı
    * Constant statements will be ignored and the compiler will emit a
      SyntaxWarning.
    * Replace constant statement (ex: "1") with an expression statement
      (ex: "x=1").
    * test_traceback: use context manager on the file.
    
    Issue #26204.
    51d8c526
test_peepholer.py 12.3 KB