🌐 AI搜索 & 代理 主页
Skip to content
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
6 changes: 3 additions & 3 deletions numpy/testing/_private/extbuild.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def build_and_import_extension(
*,
prologue: str = "",
build_dir: pathlib.Path | None = None,
include_dirs: Sequence[str] = [],
include_dirs: Sequence[str] | None = None,
more_init: str = "",
) -> types.ModuleType: ...

Expand All @@ -20,6 +20,6 @@ def compile_extension_module(
builddir: pathlib.Path,
include_dirs: Sequence[str],
source_string: str,
libraries: Sequence[str] = [],
library_dirs: Sequence[str] = [],
libraries: Sequence[str] | None = None,
library_dirs: Sequence[str] | None = None,
) -> pathlib.Path: ...
2 changes: 1 addition & 1 deletion numpy/testing/_private/utils.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ else:
def memusage() -> NoReturn: ...

if sys.platform == "linux":
def jiffies(_proc_pid_stat: StrOrBytesPath | None = None, _load_time: list[float] = []) -> int: ...
def jiffies(_proc_pid_stat: StrOrBytesPath | None = None, _load_time: list[float] | None = None) -> int: ...
else:
def jiffies(_load_time: list[float] = []) -> int: ...

Expand Down
Loading