8000 [3.12] Fix typo in `template_replace()` test helper docstring (GH-132… · python/cpython@1d8cd48 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1d8cd48

Browse files
[3.12] Fix typo in template_replace() test helper docstring (GH-132094) (#132096)
Fix typo in `template_replace()` test helper docstring (GH-132094) (cherry picked from commit ac3a7bf) Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
1 parent 3d3e7b0 commit 1d8cd48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ def template_replace(templates: list[str], replacements: dict[str, list[str]]) -
611611
612612
Example 1: Suppose that:
613613
templates = ["dog_breed are awesome", "dog_breed are cool"]
614-
replacements = ["dog_breed": ["Huskies", "Beagles"]]
614+
replacements = {"dog_breed": ["Huskies", "Beagles"]}
615615
Then we would return:
616616
[
617617
("Huskies are awesome", "Huskies are cool"),

0 commit comments

Comments
 (0)
0