Skip to content

Commit 6639e5d

Browse files
committed
odr: Fix override errors in odrpack.
1 parent 5121a47 commit 6639e5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scipy-stubs/odr/odrpack.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This module is not meant for public use and will be removed in SciPy v2.0.0.
2-
from typing_extensions import deprecated
2+
from typing_extensions import deprecated, override
33

44
__all__ = ["ODR", "Data", "Model", "OdrError", "OdrStop", "OdrWarning", "Output", "RealData", "odr", "odr_error", "odr_stop"]
55

@@ -39,6 +39,7 @@ class RealData(Data):
3939
fix: object = ...,
4040
meta: object = ...,
4141
) -> None: ...
42+
@override
4243
def __getattr__(self, attr: object) -> object: ...
4344

4445
@deprecated("will be removed in SciPy v2.0.0")

0 commit comments

Comments
 (0)