Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Feature or enhancement
Lines 800 to 813 ina9574c6
| @classmethod | |
| function.__new__ as func_new | |
| code: object(type="PyCodeObject *", subclass_of="&PyCode_Type") | |
| a code object | |
| globals: object(subclass_of="&PyDict_Type") | |
| the globals dictionary | |
| name: object = None | |
| a string that overrides the name from the code object | |
| argdefs as defaults: object = None | |
| a tuple that specifies the default argument values | |
| closure: object = None | |
| a tuple that supplies the bindings for free variables | |
| Create a function object. |
It is rather strange to havedefaults, but notkwdefaults.
I propose addingkwdefaults as the last parameter.