Kaydet (Commit) b470575e authored tarafından Larry Hastings's avatar Larry Hastings

Issue #20299: Argument Clinic custom converters may now change the default

value of c_default and py_default with a class member.
üst dc3cce07
......@@ -101,6 +101,9 @@ Tests
Tools/Demos
-----------
- Issue #20299: Argument Clinic custom converters may now change the default
value of c_default and py_default with a class member.
- Issue #20287: Argument Clinic's output is now configurable, allowing
delaying its output or even redirecting it to a separate file.
......
......@@ -1893,7 +1893,9 @@ class CConverter(metaclass=CConverterAutoRegister):
self.__class__.__name__, default, name, types_str))
self.default = default
if c_default:
self.c_default = c_default
if py_default:
self.py_default = py_default
if annotation != unspecified:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment