File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/numpy-stubs/testing/_private Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,14 +166,14 @@ if sys.platform != "win32" and sys.platform != "cygwin" and sys.platform != "lin
166
166
def memusage () -> NoReturn : ...
167
167
168
168
elif sys .platform == "win32" or sys .platform == "cygwin" :
169
- def memusage (processName : str = ... , instance : int = ... ) -> int : ...
169
+ def memusage (processName : str = "python" , instance : int = 0 ) -> int : ...
170
170
171
171
else :
172
- def memusage (_proc_pid_stat : StrOrBytesPath = ... ) -> int | None : ...
172
+ def memusage (_proc_pid_stat : StrOrBytesPath | None = None ) -> int | None : ...
173
173
174
174
#
175
175
if sys .platform == "linux" :
176
- def jiffies (_proc_pid_stat : StrOrBytesPath = ... , _load_time : list [float ] = [] ) -> int : ...
176
+ def jiffies (_proc_pid_stat : StrOrBytesPath | None = None , _load_time : list [float ] | None = None ) -> int : ...
177
177
178
178
else :
179
179
def jiffies (_load_time : list [float ] = []) -> int : ...
You can’t perform that action at this time.
0 commit comments