(name)
| 155 | |
| 156 | |
| 157 | def __getattr__(name): |
| 158 | # Deprecated 2022-11-22, NumPy 1.25. |
| 159 | if name == "MachAr": |
| 160 | warnings.warn( |
| 161 | "The `np.core.MachAr` is considered private API (NumPy 1.24)", |
| 162 | DeprecationWarning, stacklevel=2, |
| 163 | ) |
| 164 | return _machar.MachAr |
| 165 | raise AttributeError(f"Module {__name__!r} has no attribute {name!r}") |
| 166 | |
| 167 | |
| 168 | import copyreg |