Eric V. Smith <e...@trueblade.com> 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 <rep...@bugs.python.org>
<https://bugs.python.org/issue40825>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to