https://github.com/python/cpython/commit/ac3a7bfeccb752a59d88861e45b454db360aa69d
commit: ac3a7bfeccb752a59d88861e45b454db360aa69d
branch: main
author: Victorien <[email protected]>
committer: JelleZijlstra <[email protected]>
date: 2025-04-04T17:38:09Z
summary:
Fix typo in `template_replace()` test helper docstring (#132094)
files:
M Lib/test/test_typing.py
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"),
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]