mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
Fix typo in template_replace() test helper docstring (#132094)
This commit is contained in:
parent
68e72cf3a8
commit
ac3a7bfecc
1 changed files with 1 additions and 1 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue