From: Victorien <65306057+Viicos@users.noreply.github.com> Date: Fri, 4 Apr 2025 17:38:09 +0000 (+0200) Subject: Fix typo in `template_replace()` test helper docstring (#132094) X-Git-Tag: v3.14.0a7~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac3a7bfeccb752a59d88861e45b454db360aa69d;p=thirdparty%2FPython%2Fcpython.git Fix typo in `template_replace()` test helper docstring (#132094) --- diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index 97d3a927160b..ead589fef6cd 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -812,7 +812,7 @@ def template_replace(templates: list[str], replacements: dict[str, list[str]]) - Example 1: Suppose that: templates = ["dog_breed are awesome", "dog_breed are cool"] - replacements = ["dog_breed": ["Huskies", "Beagles"]] + replacements = {"dog_breed": ["Huskies", "Beagles"]} Then we would return: [ ("Huskies are awesome", "Huskies are cool"),