Eric V. Smith <[email protected]> added the comment:
I guess an isinstance check against numbers.Number would be the best way to check if an argument is a number. I'm not sure how convenient that is from C code. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue40825> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
