From 4decdab162df531beabedec55013e534f3882b3f Mon Sep 17 00:00:00 2001 From: Shantanu Date: Tue, 14 Apr 2020 18:48:41 -0700 Subject: [PATCH] Fix grammar in exception thrown by ast.unparse It's a trivial change in a function that's new in py39, so I propose we skip-issue and skip-news :-) --- Lib/ast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/ast.py b/Lib/ast.py index f51c71fb8c608c..401af5647a240c 100644 --- a/Lib/ast.py +++ b/Lib/ast.py @@ -1149,7 +1149,7 @@ def visit_IfExp(self, node): def visit_Set(self, node): if not node.elts: - raise ValueError("Set node should has at least one item") + raise ValueError("Set node should have at least one item") with self.delimit("{", "}"): self.interleave(lambda: self.write(", "), self.traverse, node.elts)