https://github.com/python/cpython/commit/1d8cd48f26dc3aeca3f4fe58a5cefe7312533645 commit: 1d8cd48f26dc3aeca3f4fe58a5cefe7312533645 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: picnixz <10796600+picn...@users.noreply.github.com> date: 2025-04-04T20:04:01+02:00 summary:
[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 ac3a7bfeccb752a59d88861e45b454db360aa69d) Co-authored-by: Victorien <65306057+vii...@users.noreply.github.com> files: M Lib/test/test_typing.py diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index 5c862d7928c950..5e9de3058a8feb 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -611,7 +611,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 -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com