Package pytilities :: Package types :: Module _numerictypemeta :: Class _NumericTypeMeta
[hide private]
[frames] | no frames]

Type _NumericTypeMeta

source code

object --+    
         |    
      type --+
             |
            _NumericTypeMeta

Instance Methods [hide private]
 
__instancecheck__(self, instance) source code
 
__subclasscheck__(self, subclass)
Note: returns false for a string as we can't tell whether it's numeric.
source code

Inherited from type: __call__, __delattr__, __eq__, __ge__, __getattribute__, __gt__, __hash__, __init__, __le__, __lt__, __ne__, __new__, __repr__, __setattr__, __subclasses__, mro

Inherited from object: __format__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from type: __abstractmethods__, __base__, __bases__, __basicsize__, __dictoffset__, __flags__, __itemsize__, __mro__, __name__, __weakrefoffset__

Inherited from object: __class__

Method Details [hide private]

__instancecheck__(self, instance)

source code 
Overrides: __instancecheck__

__subclasscheck__(self, subclass)

source code 
Note: returns false for a string as we can't tell whether it's
numeric. Try to avoid subclass checks of numbers with strings.

Overrides: __subclasscheck__