summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorsasha <sasha@localhost>2006-01-20 00:19:09 +0000
committersasha <sasha@localhost>2006-01-20 00:19:09 +0000
commit39edf8031bbbaad86b85195e0db3090ad9c9f681 (patch)
tree018c623a99a3f84443e3e8d3e6f39fefeb7099e9 /numpy/core/numeric.py
parent7cff614fe4080f735fe6b66c0f55ff4377b750bd (diff)
downloadnumpy-39edf8031bbbaad86b85195e0db3090ad9c9f681.tar.gz
Defined False_ and True_
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index c784b7fb9..bdf087dcb 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -16,7 +16,7 @@ __all__ = ['newaxis', 'ndarray', 'bigndarray', 'flatiter', 'ufunc',
'seterr', 'geterr', 'setbufsize', 'getbufsize',
'seterrcall', 'geterrcall',
'Inf', 'inf', 'infty', 'Infinity',
- 'nan', 'NaN']
+ 'nan', 'NaN', 'False_', 'True_']
import sys
import multiarray
@@ -472,6 +472,8 @@ _setdef()
Inf = inf = infty = Infinity = PINF
nan = NaN = NAN
+False_ = bool_(False)
+True_ = bool_(True)
import oldnumeric
from oldnumeric import *