Skip to content

Commit b4be004

Browse files
author
Bas van Beek
committed
MAINT: Move np.rec to np.core.records
1 parent 88069bb commit b4be004

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

numpy/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,13 @@ from numpy import (
205205
matrixlib as matrixlib,
206206
polynomial as polynomial,
207207
random as random,
208-
rec as rec,
209208
testing as testing,
210209
version as version,
211210
)
212211

213-
from numpy.core import defchararray
212+
from numpy.core import defchararray, records
214213
char = defchararray
214+
rec = records
215215

216216
from numpy.core.function_base import (
217217
linspace as linspace,
File renamed without changes.

numpy/typing/tests/test_isfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
ROOT / "py.typed",
1010
ROOT / "__init__.pyi",
1111
ROOT / "ctypeslib.pyi",
12-
ROOT / "rec.pyi",
1312
ROOT / "core" / "__init__.pyi",
1413
ROOT / "distutils" / "__init__.pyi",
1514
ROOT / "f2py" / "__init__.pyi",

0 commit comments

Comments
 (0)