diff options
author | Matthew Brett <matthew.brett@gmail.com> | 2017-05-15 16:11:48 +0100 |
---|---|---|
committer | Matthew Brett <matthew.brett@gmail.com> | 2017-05-15 16:11:48 +0100 |
commit | c7db85e5baf133a55adbd668dd9d963a4e73c6a8 (patch) | |
tree | e7d8f73688785927429e69a5e0c267cc4406d7ab /numpy/core/getlimits.py | |
parent | 0649ba224f7b44f6da7005c1e8240d970a5a3be5 (diff) | |
download | numpy-c7db85e5baf133a55adbd668dd9d963a4e73c6a8.tar.gz |
RF: remove main clause
Does not work, and shouldn't be there.
Diffstat (limited to 'numpy/core/getlimits.py')
-rw-r--r-- | numpy/core/getlimits.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/numpy/core/getlimits.py b/numpy/core/getlimits.py index f74b45790..e450a660d 100644 --- a/numpy/core/getlimits.py +++ b/numpy/core/getlimits.py @@ -558,13 +558,3 @@ class iinfo(object): return "%s(min=%s, max=%s, dtype=%s)" % (self.__class__.__name__, self.min, self.max, self.dtype) -if __name__ == '__main__': - f = finfo(ntypes.single) - print('single epsilon:', f.eps) - print('single tiny:', f.tiny) - f = finfo(ntypes.float) - print('float epsilon:', f.eps) - print('float tiny:', f.tiny) - f = finfo(ntypes.longfloat) - print('longfloat epsilon:', f.eps) - print('longfloat tiny:', f.tiny) |