diff options
| author | Bas van Beek <b.f.van.beek@vu.nl> | 2021-04-23 14:38:56 +0200 |
|---|---|---|
| committer | Bas van Beek <b.f.van.beek@vu.nl> | 2021-04-23 14:39:41 +0200 |
| commit | 0388434a18de5dc02e0438a49e31dde44a59fe2b (patch) | |
| tree | f77eb306c6e1bcb6b33dcc14b98595478880495b /numpy/matrixlib | |
| parent | 4f1390e9d31edda13890e230d23dc1651310050a (diff) | |
| download | numpy-0388434a18de5dc02e0438a49e31dde44a59fe2b.tar.gz | |
ENH: Add improved placeholder annotations for `np.matrixlib`
Diffstat (limited to 'numpy/matrixlib')
| -rw-r--r-- | numpy/matrixlib/__init__.pyi | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/numpy/matrixlib/__init__.pyi b/numpy/matrixlib/__init__.pyi index b9005c4aa..e4b5c19a2 100644 --- a/numpy/matrixlib/__init__.pyi +++ b/numpy/matrixlib/__init__.pyi @@ -1,8 +1,11 @@ from typing import Any, List +from numpy import ( + matrix as matrix, +) + __all__: List[str] -matrix: Any -bmat: Any -mat: Any -asmatrix: Any +def bmat(obj, ldict=..., gdict=...): ... +def asmatrix(data, dtype=...): ... +mat = asmatrix |
