summaryrefslogtreecommitdiff
path: root/numpy/core/getlimits.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2009-10-02 19:36:37 +0000
committerPauli Virtanen <pav@iki.fi>2009-10-02 19:36:37 +0000
commit094a81e1352fb6b3a7a614fc8df23d0080cf7cb5 (patch)
tree0ec0b833b714ccf87085a43de363287edec5c7ee /numpy/core/getlimits.py
parentd8f0614a886488b875e34555c590e6469e24102a (diff)
downloadnumpy-094a81e1352fb6b3a7a614fc8df23d0080cf7cb5.tar.gz
Docstring update: core
Diffstat (limited to 'numpy/core/getlimits.py')
-rw-r--r--numpy/core/getlimits.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/numpy/core/getlimits.py b/numpy/core/getlimits.py
index 7d9034e58..97c12cc6b 100644
--- a/numpy/core/getlimits.py
+++ b/numpy/core/getlimits.py
@@ -47,7 +47,7 @@ class finfo(object):
The smallest representable number, typically ``-max``.
minexp : int
The most negative power of the base (2) consistent with there being
- no leading 0s in the mantissa.
+ no leading 0's in the mantissa.
negep : int
The exponent that yields ``epsneg``.
nexp : int
@@ -70,14 +70,12 @@ class finfo(object):
See Also
--------
- numpy.lib.machar.MachAr :
- The implementation of the tests that produce this information.
- iinfo :
- The equivalent for integer data types.
+ MachAr : The implementation of the tests that produce this information.
+ iinfo : The equivalent for integer data types.
Notes
-----
- For developers of numpy: do not instantiate this at the module level. The
+ For developers of NumPy: do not instantiate this at the module level. The
initial calculation of these parameters is expensive and negatively impacts
import times. These objects are cached, so calling ``finfo()`` repeatedly
inside your functions is not a problem.