From 58ec0c1c79832db006a6df048c7cf9d2aeab8e5b Mon Sep 17 00:00:00 2001 From: Hunter Hogan Date: Fri, 18 Jul 2025 15:53:35 -0500 Subject: [PATCH 1/2] Optimiziation --- Lib/test/test_ast/test_ast.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_ast/test_ast.py b/Lib/test/test_ast/test_ast.py index 38d3a5adc5f01f..4c49d662b14d2b 100644 --- a/Lib/test/test_ast/test_ast.py +++ b/Lib/test/test_ast/test_ast.py @@ -548,7 +548,7 @@ def test_compare_basics(self): ) def test_compare_modified_ast(self): - # The ast API is a bit underspecified. The objects are mutable, + # The ast API is a bit under-specified. The objects are mutable, # and even _fields and _attributes are mutable. The compare() does # some simple things to accommodate mutability. a = ast.parse("m * x + b", mode="eval") @@ -3545,7 +3545,7 @@ def test_show_empty_flag(self): self.check_output(source, expect, '--show-empty') -class ASTOptimiziationTests(unittest.TestCase): +class ASTOptimizationTests(unittest.TestCase): def wrap_expr(self, expr): return ast.Module(body=[ast.Expr(value=expr)]) From c62c4c5cc55a43c19bf72c1d6a3c690f725d4193 Mon Sep 17 00:00:00 2001 From: Hunter Hogan Date: Fri, 18 Jul 2025 16:50:08 -0500 Subject: [PATCH 2/2] underspecified --- Lib/test/test_ast/test_ast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_ast/test_ast.py b/Lib/test/test_ast/test_ast.py index 4c49d662b14d2b..3f55ff44ba75c2 100644 --- a/Lib/test/test_ast/test_ast.py +++ b/Lib/test/test_ast/test_ast.py @@ -548,7 +548,7 @@ def test_compare_basics(self): ) def test_compare_modified_ast(self): - # The ast API is a bit under-specified. The objects are mutable, + # The ast API is a bit underspecified. The objects are mutable, # and even _fields and _attributes are mutable. The compare() does # some simple things to accommodate mutability. a = ast.parse("m * x + b", mode="eval") pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy