From 23c943e63c34f228f16003700c6b394d0cd52695 Mon Sep 17 00:00:00 2001 From: Viicos <65306057+Viicos@users.noreply.github.com> Date: Fri, 4 Apr 2025 19:11:29 +0200 Subject: [PATCH] Fix typo in `template_replace()` test helper docstring --- Lib/test/test_typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index 97d3a927160b8f..ead589fef6cd11 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"),