mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Issue #26316: Fix variable name typo in Argument Clinic
This commit is contained in:
parent
77c96813ab
commit
4177e7c38e
2 changed files with 7 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ def linear_format(s, **kwargs):
|
|||
add('\n')
|
||||
continue
|
||||
|
||||
name, curl, trailing = trailing.partition('}')
|
||||
name, curly, trailing = trailing.partition('}')
|
||||
if not curly or name not in kwargs:
|
||||
add(line)
|
||||
add('\n')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue