diff options
author | Larry Hastings <larry@hastings.org> | 2014-01-19 11:01:23 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2014-01-19 11:01:23 (GMT) |
commit | 665757847eddd2e4b211bd78d964171ba541731c (patch) | |
tree | 9fb0cb4d75e7b8e0788d0f91a8c5adf4480c4aa9 /Tools | |
parent | c4fe092bc34d0bed120ecf369684ece4afec6be0 (diff) | |
download | cpython-665757847eddd2e4b211bd78d964171ba541731c.zip cpython-665757847eddd2e4b211bd78d964171ba541731c.tar.gz cpython-665757847eddd2e4b211bd78d964171ba541731c.tar.bz2 |
Improve fix for issue #20300.
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/clinic/clinic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py index 84bc7b8..69b5c4d 100755 --- a/Tools/clinic/clinic.py +++ b/Tools/clinic/clinic.py @@ -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) |