mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Improve fix for issue #20300.
This commit is contained in:
parent
c4fe092bc3
commit
665757847e
1 changed files with 1 additions and 1 deletions
|
@ -3448,7 +3448,7 @@ class DSLParser:
|
|||
a.append('=')
|
||||
value = p.converter.py_default
|
||||
if not value:
|
||||
value = str(p.converter.default)
|
||||
value = repr(p.converter.default)
|
||||
a.append(value)
|
||||
s = fix_right_bracket_count(p.right_bracket_count)
|
||||
s += "".join(a)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue