8000 Merge pull request #26429 from jlecordier/main · numpy/numpy@42b22a2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 42b22a2

Browse files
authored
Merge pull request #26429 from jlecordier/main
TYP: npyio: loadtxt: usecols: add None type
2 parents 5479f04 + b5daae5 commit 42b22a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
< 8000 /div>

numpy/lib/_npyio_impl.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def loadtxt(
158158
delimiter: None | str = ...,
159159
converters: None | Mapping[int | str, Callable[[str], Any]] = ...,
160160
skiprows: int = ...,
161-
usecols: int | Sequence[int] = ...,
161+
usecols: int | Sequence[int] | None = ...,
162162
unpack: bool = ...,
163163
ndmin: L[0, 1, 2] = ...,
164164
encoding: None | str = ...,
@@ -175,7 +175,7 @@ def loadtxt(
175175
delimiter: None | str = ...,
176176
converters: None | Mapping[int | str, Callable[[str], Any]] = ...,
177177
skiprows: int = ...,
178-
usecols: int | Sequence[int] = ...,
178+
usecols: int | Sequence[int] | None = ...,
179179
unpack: bool = ...,
180180
ndmin: L[0, 1, 2] = ...,
181181
encoding: None | str = ...,
@@ -192,7 +192,7 @@ def loadtxt(
192192
delimiter: None | str = ...,
193193
converters: None | Mapping[int | str, Callable[[str], Any]] = ...,
194194
skiprows: int = ...,
195-
usecols: int | Sequence[int] = ...,
195+
usecols: int | Sequence[int] | None = ...,
196196
unpack: bool = ...,
197197
ndmin: L[0, 1, 2] = ...,
198198
encoding: None | str = ...,

0 commit comments

Comments
 (0)
0