[issue47214] builtin_function_or_method is also either a function or a method

Ravi Jain report at bugs.python.org
Mon Apr 4 13:51:35 EDT 2022


Ravi Jain <aivainjr141 at gmail.com> added the comment:

yes, I think `inspect.isroutine` does the required functionality.
sorry, I did not know about it, and could not think of the word `routine` when checking for functions.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47214>
_______________________________________


More information about the Python-bugs-list mailing list