Python's numeric tower

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat Jun 14 22:51:44 EDT 2014


Does anyone know any examples of values or types from the standard 
library or well-known third-party libraries which satisfies 
isinstance(a, numbers.Number) but not isinstance(a, numbers.Complex)?


-- 
Steven D'Aprano
http://import-that.dreamwidth.org/



More information about the Python-list mailing list