From ecd322f18438657a04680fd73f35a0413209fc0a Mon Sep 17 00:00:00 2001 From: Jonathon Vandezande Date: Wed, 31 Jul 2024 08:40:00 -0400 Subject: [PATCH 1/2] Update example_stub.pyi Fixes typo --- Lib/idlelib/idle_test/example_stub.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/idlelib/idle_test/example_stub.pyi b/Lib/idlelib/idle_test/example_stub.pyi index 17b58010a9d8de..a9b99d3d8f2914 100644 --- a/Lib/idlelib/idle_test/example_stub.pyi +++ b/Lib/idlelib/idle_test/example_stub.pyi @@ -1,4 +1,4 @@ -" Example to test recognition of .pyi file as Python source code. +"""Example to test recognition of .pyi file as Python source code.""" class Example: def method(self, argument1: str, argument2: list[int]) -> None: ... From 9853edf6f6f068cbe5070432a3cae6199d30b573 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Wed, 31 Jul 2024 13:29:12 -0400 Subject: [PATCH 2/2] Update Lib/idlelib/idle_test/example_stub.pyi --- Lib/idlelib/idle_test/example_stub.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/idlelib/idle_test/example_stub.pyi b/Lib/idlelib/idle_test/example_stub.pyi index a9b99d3d8f2914..abcdbc17529974 100644 --- a/Lib/idlelib/idle_test/example_stub.pyi +++ b/Lib/idlelib/idle_test/example_stub.pyi @@ -1,4 +1,4 @@ -"""Example to test recognition of .pyi file as Python source code.""" +# An example file to test recognition of a .pyi file as Python source code. class Example: def method(self, argument1: str, argument2: list[int]) -> None: ...