Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TYP: fix minor f2py stub inconsistencies #29146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion numpy/f2py/auxfuncs.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ from .cfuncs import errmess
__all__ = [
"applyrules",
"containscommon",
"containsderivedtypes",
"debugcapi",
"dictappend",
"errmess",
Expand Down Expand Up @@ -200,7 +201,7 @@ def isintent_inplace(var: _Var) -> bool: ...
def isintent_aux(var: _Var) -> bool: ...

#
def containsderivedtypes(rout: _ROut) -> _Bool: ...
def containsderivedtypes(rout: _ROut) -> L[0, 1]: ...
def containscommon(rout: _ROut) -> _Bool: ...
def hasexternals(rout: _ROut) -> bool: ...
def hasresultnote(rout: _ROut) -> _Bool: ...
Expand Down
3 changes: 0 additions & 3 deletions numpy/f2py/diagnose.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
from _typeshed import StrOrBytesPath

def run_command(cmd: StrOrBytesPath) -> None: ...
def run() -> None: ...
Loading