smarie / python-makefun

Dynamically create python functions with a proper signature.
https://smarie.github.io/python-makefun/
BSD 3-Clause "New" or "Revised" License
119 stars 16 forks source link

TypeError: _update_fields() got multiple values for keyword argument 'func' #76

Closed smarie closed 3 years ago

smarie commented 3 years ago

Happens with new version 1.12.0 CRITICAL

smarie commented 3 years ago
.nox/tests-2-7/lib/python2.7/site-packages/makefun/main.py:951: in replace_f
     **attrs
 .nox/tests-2-7/lib/python2.7/site-packages/makefun/main.py:271: in create_function
     module=module_name, **attrs)
 E   TypeError: _update_fields() got multiple values for keyword argument 'func'