https://github.com/python/cpython/commit/53752d20c4f9258ac4b96332d60e40a8666f78f1 commit: 53752d20c4f9258ac4b96332d60e40a8666f78f1 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: picnixz <[email protected]> date: 2025-04-04T20:04:18+02:00 summary:
[3.13] Fix typo in `template_replace()` test helper docstring (GH-132094) (#132095) Fix typo in `template_replace()` test helper docstring (GH-132094) (cherry picked from commit ac3a7bfeccb752a59d88861e45b454db360aa69d) Co-authored-by: Victorien <[email protected]> files: M Lib/test/test_typing.py diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index 9d499319662873..9dc719a27575a3 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -809,7 +809,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]
