|
7 | 7 |
|
8 | 8 | import numpy as np
|
9 | 9 | from numpy import (
|
10 |
| - # Constants |
11 |
| - e, |
12 |
| - inf, |
13 |
| - nan, |
14 |
| - pi, |
15 |
| - newaxis, |
16 | 10 | # Dtypes
|
17 |
| - bool_ as bool, |
18 |
| - float32, |
19 |
| - float64, |
20 |
| - int8, |
21 |
| - int16, |
22 |
| - int32, |
23 |
| - int64, |
24 |
| - uint8, |
25 |
| - uint16, |
26 |
| - uint32, |
27 |
| - uint64, |
28 |
| - complex64, |
29 |
| - complex128, |
30 | 11 | iinfo,
|
31 | 12 | finfo,
|
32 | 13 | can_cast,
|
@@ -173,12 +154,9 @@ def asarray(
|
173 | 154 |
|
174 | 155 | common_aliases = [alias for alias in _aliases.__all__ if alias not in _da_unsupported]
|
175 | 156 |
|
176 |
| -__all__ = common_aliases + ['asarray', 'bool', 'acos', |
177 |
| - 'acosh', 'asin', 'asinh', 'atan', 'atan2', |
178 |
| - 'atanh', 'bitwise_left_shift', 'bitwise_invert', |
179 |
| - 'bitwise_right_shift', 'concat', 'pow', |
180 |
| - 'e', 'inf', 'nan', 'pi', 'newaxis', 'float32', 'float64', 'int8', |
181 |
| - 'int16', 'int32', 'int64', 'uint8', 'uint16', 'uint32', 'uint64', |
182 |
| - 'complex64', 'complex128', 'iinfo', 'finfo', 'can_cast', 'result_type'] |
| 157 | +__all__ = common_aliases + ['asarray', 'acos', |
| 158 | + 'acosh', 'asin', 'asinh', 'atan', 'atan2', |
| 159 | + 'atanh', 'bitwise_left_shift', 'bitwise_invert', |
| 160 | + 'bitwise_right_shift', 'concat', 'pow', 'iinfo', 'finfo', 'can_cast', 'result_type'] |
183 | 161 |
|
184 |
| -_all_ignore = ['get_xp', 'da', 'partial', 'common_aliases', 'np'] |
| 162 | +del get_xp, da, common_aliases, np |
0 commit comments