Skip to content

Commit c34349a

Browse files
Added missing keyword separators
1 parent f2d57e8 commit c34349a

File tree

7 files changed

+33
-0
lines changed

7 files changed

+33
-0
lines changed

scipy-stubs/sparse/_bsr.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ class bsr_array(_bsr_base[_ScalarT_co], sparray[_ScalarT_co, tuple[int, int]], G
117117
shape: ToShape2D | None,
118118
dtype: onp.AnyBoolDType,
119119
copy: bool = False,
120+
*,
120121
maxprint: int | None = None,
121122
) -> None: ...
122123
@overload # 2-d shape-like, dtype: type[bool] (keyword)
@@ -138,6 +139,7 @@ class bsr_array(_bsr_base[_ScalarT_co], sparray[_ScalarT_co, tuple[int, int]], G
138139
shape: ToShape2D | None,
139140
dtype: onp.AnyIntDType,
140141
copy: bool = False,
142+
*,
141143
maxprint: int | None = None,
142144
) -> None: ...
143145
@overload # 2-d shape-like, dtype: type[int] (keyword)
@@ -159,6 +161,7 @@ class bsr_array(_bsr_base[_ScalarT_co], sparray[_ScalarT_co, tuple[int, int]], G
159161
shape: ToShape2D | None,
160162
dtype: onp.AnyComplex128DType,
161163
copy: bool = False,
164+
*,
162165
maxprint: int | None = None,
163166
) -> None: ...
164167
@overload # 2-d shape-like, dtype: type[complex] (keyword)

scipy-stubs/sparse/_coo.pyi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ class coo_array(_coo_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
190190
shape: ToShape1D | None,
191191
dtype: onp.AnyBoolDType,
192192
copy: bool = False,
193+
*,
193194
maxprint: int | None = None,
194195
) -> None: ...
195196
@overload # 1-d shape-like, dtype: type[bool] (keyword)
@@ -211,6 +212,7 @@ class coo_array(_coo_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
211212
shape: ToShape2D | None,
212213
dtype: onp.AnyBoolDType,
213214
copy: bool = False,
215+
*,
214216
maxprint: int | None = None,
215217
) -> None: ...
216218
@overload # 2-d shape-like, dtype: type[bool] (keyword)
@@ -232,6 +234,7 @@ class coo_array(_coo_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
232234
shape: ToShapeMin3D | None,
233235
dtype: onp.AnyBoolDType,
234236
copy: bool = False,
237+
*,
235238
maxprint: int | None = None,
236239
) -> None: ...
237240
@overload # >2-d shape-like, dtype: type[bool] (keyword)
@@ -253,6 +256,7 @@ class coo_array(_coo_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
253256
shape: ToShape1D | None,
254257
dtype: onp.AnyIntDType,
255258
copy: bool = False,
259+
*,
256260
maxprint: int | None = None,
257261
) -> None: ...
258262
@overload # 1-d shape-like, dtype: type[int] (keyword)
@@ -274,6 +278,7 @@ class coo_array(_coo_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
274278
shape: ToShape2D | None,
275279
dtype: onp.AnyIntDType,
276280
copy: bool = False,
281+
*,
277282
maxprint: int | None = None,
278283
) -> None: ...
279284
@overload # 2-d shape-like, dtype: type[int] (keyword)
@@ -295,6 +300,7 @@ class coo_array(_coo_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
295300
shape: ToShapeMin3D | None,
296301
dtype: onp.AnyIntDType,
297302
copy: bool = False,
303+
*,
298304
maxprint: int | None = None,
299305
) -> None: ...
300306
@overload # >2-d shape-like, dtype: type[int] (keyword)
@@ -316,6 +322,7 @@ class coo_array(_coo_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
316322
shape: ToShape1D | None,
317323
dtype: onp.AnyComplex128DType,
318324
copy: bool = False,
325+
*,
319326
maxprint: int | None = None,
320327
) -> None: ...
321328
@overload # 1-d shape-like, dtype: type[complex] (keyword)
@@ -337,6 +344,7 @@ class coo_array(_coo_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
337344
shape: ToShape2D | None,
338345
dtype: onp.AnyComplex128DType,
339346
copy: bool = False,
347+
*,
340348
maxprint: int | None = None,
341349
) -> None: ...
342350
@overload # 2-d shape-like, dtype: type[complex] (keyword)
@@ -358,6 +366,7 @@ class coo_array(_coo_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
358366
shape: ToShapeMin3D | None,
359367
dtype: onp.AnyComplex64DType,
360368
copy: bool = False,
369+
*,
361370
maxprint: int | None = None,
362371
) -> None: ...
363372
@overload # >2-d shape-like, dtype: type[complex] (keyword)

scipy-stubs/sparse/_csc.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ class csc_array(_csc_base[_ScalarT_co], sparray[_ScalarT_co, tuple[int, int]], G
9696
shape: ToShape2D | None,
9797
dtype: onp.AnyBoolDType,
9898
copy: bool = False,
99+
*,
99100
maxprint: int | None = None,
100101
) -> None: ...
101102
@overload # 2-d shape-like, dtype: type[bool] (keyword)
@@ -117,6 +118,7 @@ class csc_array(_csc_base[_ScalarT_co], sparray[_ScalarT_co, tuple[int, int]], G
117118
shape: ToShape2D | None,
118119
dtype: onp.AnyIntDType,
119120
copy: bool = False,
121+
*,
120122
maxprint: int | None = None,
121123
) -> None: ...
122124
@overload # 2-d shape-like, dtype: type[int] (keyword)
@@ -138,6 +140,7 @@ class csc_array(_csc_base[_ScalarT_co], sparray[_ScalarT_co, tuple[int, int]], G
138140
shape: ToShape2D | None,
139141
dtype: onp.AnyComplex128DType,
140142
copy: bool = False,
143+
*,
141144
maxprint: int | None = None,
142145
) -> None: ...
143146
@overload # 2-d shape-like, dtype: type[complex] (keyword)

scipy-stubs/sparse/_csr.pyi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ class csr_array(_csr_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
150150
shape: ToShape1D | None,
151151
dtype: onp.AnyBoolDType,
152152
copy: bool = False,
153+
*,
153154
maxprint: int | None = None,
154155
) -> None: ...
155156
@overload # 1-d shape-like, dtype: type[bool] (keyword)
@@ -171,6 +172,7 @@ class csr_array(_csr_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
171172
shape: ToShape2D | None,
172173
dtype: onp.AnyBoolDType,
173174
copy: bool = False,
175+
*,
174176
maxprint: int | None = None,
175177
) -> None: ...
176178
@overload # 2-d shape-like, dtype: type[bool] (keyword)
@@ -192,6 +194,7 @@ class csr_array(_csr_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
192194
shape: ToShape1D | None,
193195
dtype: onp.AnyIntDType,
194196
copy: bool = False,
197+
*,
195198
maxprint: int | None = None,
196199
) -> None: ...
197200
@overload # 1-d shape-like, dtype: type[int] (keyword)
@@ -213,6 +216,7 @@ class csr_array(_csr_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
213216
shape: ToShape2D | None,
214217
dtype: onp.AnyIntDType,
215218
copy: bool = False,
219+
*,
216220
maxprint: int | None = None,
217221
) -> None: ...
218222
@overload # 2-d shape-like, dtype: type[int] (keyword)
@@ -234,6 +238,7 @@ class csr_array(_csr_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
234238
shape: ToShape1D | None,
235239
dtype: onp.AnyComplex128DType,
236240
copy: bool = False,
241+
*,
237242
maxprint: int | None = None,
238243
) -> None: ...
239244
@overload # 1-d shape-like, dtype: type[complex] (keyword)
@@ -255,6 +260,7 @@ class csr_array(_csr_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
255260
shape: ToShape2D | None,
256261
dtype: onp.AnyComplex128DType,
257262
copy: bool = False,
263+
*,
258264
maxprint: int | None = None,
259265
) -> None: ...
260266
@overload # 2-d shape-like, dtype: type[complex] (keyword)

scipy-stubs/sparse/_dia.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ class dia_array(_dia_base[_ScalarT_co], sparray[_ScalarT_co, tuple[int, int]], G
101101
shape: ToShape2D | None,
102102
dtype: onp.AnyBoolDType,
103103
copy: bool = False,
104+
*,
104105
maxprint: int | None = None,
105106
) -> None: ...
106107
@overload # 2-d shape-like, dtype: type[bool] (keyword)
@@ -122,6 +123,7 @@ class dia_array(_dia_base[_ScalarT_co], sparray[_ScalarT_co, tuple[int, int]], G
122123
shape: ToShape2D | None,
123124
dtype: onp.AnyIntDType,
124125
copy: bool = False,
126+
*,
125127
maxprint: int | None = None,
126128
) -> None: ...
127129
@overload # 2-d shape-like, dtype: type[int] (keyword)
@@ -143,6 +145,7 @@ class dia_array(_dia_base[_ScalarT_co], sparray[_ScalarT_co, tuple[int, int]], G
143145
shape: ToShape2D | None,
144146
dtype: onp.AnyComplex128DType,
145147
copy: bool = False,
148+
*,
146149
maxprint: int | None = None,
147150
) -> None: ...
148151
@overload # 2-d shape-like, dtype: type[complex] (keyword)

scipy-stubs/sparse/_dok.pyi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ class dok_array(_dok_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
242242
shape: ToShape1D | None,
243243
dtype: onp.AnyBoolDType,
244244
copy: bool = False,
245+
*,
245246
maxprint: int | None = None,
246247
) -> None: ...
247248
@overload # 1-d shape-like, dtype: type[bool] (keyword)
@@ -263,6 +264,7 @@ class dok_array(_dok_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
263264
shape: ToShape2D | None,
264265
dtype: onp.AnyBoolDType,
265266
copy: bool = False,
267+
*,
266268
maxprint: int | None = None,
267269
) -> None: ...
268270
@overload # 2-d shape-like, dtype: type[bool] (keyword)
@@ -284,6 +286,7 @@ class dok_array(_dok_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
284286
shape: ToShape1D | None,
285287
dtype: onp.AnyIntDType,
286288
copy: bool = False,
289+
*,
287290
maxprint: int | None = None,
288291
) -> None: ...
289292
@overload # 1-d shape-like, dtype: type[int] (keyword)
@@ -305,6 +308,7 @@ class dok_array(_dok_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
305308
shape: ToShape2D | None,
306309
dtype: onp.AnyIntDType,
307310
copy: bool = False,
311+
*,
308312
maxprint: int | None = None,
309313
) -> None: ...
310314
@overload # 2-d shape-like, dtype: type[int] (keyword)
@@ -326,6 +330,7 @@ class dok_array(_dok_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
326330
shape: ToShape1D | None,
327331
dtype: onp.AnyComplex128DType,
328332
copy: bool = False,
333+
*,
329334
maxprint: int | None = None,
330335
) -> None: ...
331336
@overload # 1-d shape-like, dtype: type[complex] (keyword)
@@ -347,6 +352,7 @@ class dok_array(_dok_base[_ScalarT_co, _ShapeT_co], sparray[_ScalarT_co, _ShapeT
347352
shape: ToShape2D | None,
348353
dtype: onp.AnyComplex128DType,
349354
copy: bool = False,
355+
*,
350356
maxprint: int | None = None,
351357
) -> None: ...
352358
@overload # 2-d shape-like, dtype: type[complex] (keyword)

scipy-stubs/sparse/_lil.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ class lil_array(_lil_base[_ScalarT_co], sparray[_ScalarT_co, tuple[int, int]], G
122122
shape: ToShape2D | None,
123123
dtype: onp.AnyBoolDType,
124124
copy: bool = False,
125+
*,
125126
maxprint: int | None = None,
126127
) -> None: ...
127128
@overload # 2-d shape-like, dtype: type[bool] (keyword)
@@ -143,6 +144,7 @@ class lil_array(_lil_base[_ScalarT_co], sparray[_ScalarT_co, tuple[int, int]], G
143144
shape: ToShape2D | None,
144145
dtype: onp.AnyIntDType,
145146
copy: bool = False,
147+
*,
146148
maxprint: int | None = None,
147149
) -> None: ...
148150
@overload # 2-d shape-like, dtype: type[int] (keyword)
@@ -164,6 +166,7 @@ class lil_array(_lil_base[_ScalarT_co], sparray[_ScalarT_co, tuple[int, int]], G
164166
shape: ToShape2D | None,
165167
dtype: onp.AnyComplex128DType,
166168
copy: bool = False,
169+
*,
167170
maxprint: int | None = None,
168171
) -> None: ...
169172
@overload # 2-d shape-like, dtype: type[complex] (keyword)

0 commit comments

Comments
 (0)