mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
[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 ac3a7bfecc
)
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
This commit is contained in:
parent
3d3e7b0ada
commit
1d8cd48f26
1 changed files with 1 additions and 1 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue