[issue17159] Remove explicit type check from inspect.Signature.from_function()

Yury Selivanov report at bugs.python.org
Mon Feb 3 08:43:24 CET 2014


Yury Selivanov added the comment:

> This change is redundant since BuiltinFunctionType (which isbuiltin() tests
> for) is already in _NonUserDefinedCallables, which is tested for right
> afterwards.

The code is more understandable, though.
Anyways, I'm glad that the issue is now resolved.

Also, please let's stop posting anything unrelated in this issue.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17159>
_______________________________________


More information about the Python-bugs-list mailing list