Skip to content

Commit fe6ef8f

Browse files
authored
Merge pull request numpy#27770 from jorenham/typing/fix-27768
TYP: Fix incorrect baseclass of ``linalg.LinAlgError``
2 parents eca9d2c + 5f57028 commit fe6ef8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/linalg/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ __all__ = [
6767
"vecdot",
6868
]
6969

70-
class LinAlgError(Exception): ...
70+
class LinAlgError(ValueError): ...

0 commit comments

Comments
 (0)