3838 >>> cmd.run(capture_output=True, universal_newlines=True).stdout
3939 'hello\n'
4040"""
41+
4142import dataclasses
4243import subprocess
4344import sys
@@ -223,8 +224,7 @@ def Popen(
223224 text : Optional [bool ] = ...,
224225 encoding : str ,
225226 errors : Optional [str ] = ...,
226- ) -> subprocess .Popen [str ]:
227- ...
227+ ) -> subprocess .Popen [str ]: ...
228228
229229 @overload
230230 def Popen (
@@ -235,8 +235,7 @@ def Popen(
235235 text : Optional [bool ] = ...,
236236 encoding : Optional [str ] = ...,
237237 errors : str ,
238- ) -> subprocess .Popen [str ]:
239- ...
238+ ) -> subprocess .Popen [str ]: ...
240239
241240 @overload
242241 def Popen (
@@ -248,8 +247,7 @@ def Popen(
248247 text : Optional [bool ] = ...,
249248 encoding : Optional [str ] = ...,
250249 errors : Optional [str ] = ...,
251- ) -> subprocess .Popen [str ]:
252- ...
250+ ) -> subprocess .Popen [str ]: ...
253251
254252 @overload
255253 def Popen (
@@ -260,8 +258,7 @@ def Popen(
260258 text : Literal [True ],
261259 encoding : Optional [str ] = ...,
262260 errors : Optional [str ] = ...,
263- ) -> subprocess .Popen [str ]:
264- ...
261+ ) -> subprocess .Popen [str ]: ...
265262
266263 @overload
267264 def Popen (
@@ -272,8 +269,7 @@ def Popen(
272269 text : Literal [None , False ] = ...,
273270 encoding : None = ...,
274271 errors : None = ...,
275- ) -> subprocess .Popen [bytes ]:
276- ...
272+ ) -> subprocess .Popen [bytes ]: ...
277273
278274 def Popen (
279275 self ,
@@ -336,8 +332,7 @@ def check_output(
336332 errors : Optional [str ] = ...,
337333 text : Literal [True ],
338334 ** kwargs : Any ,
339- ) -> str :
340- ...
335+ ) -> str : ...
341336
342337 @overload
343338 def check_output (
@@ -349,8 +344,7 @@ def check_output(
349344 errors : Optional [str ] = ...,
350345 text : Optional [bool ] = ...,
351346 ** kwargs : Any ,
352- ) -> str :
353- ...
347+ ) -> str : ...
354348
355349 @overload
356350 def check_output (
@@ -362,8 +356,7 @@ def check_output(
362356 errors : str ,
363357 text : Optional [bool ] = ...,
364358 ** kwargs : Any ,
365- ) -> str :
366- ...
359+ ) -> str : ...
367360
368361 @overload
369362 def check_output (
@@ -375,8 +368,7 @@ def check_output(
375368 errors : Optional [str ] = ...,
376369 text : Optional [bool ] = ...,
377370 ** kwargs : Any ,
378- ) -> str :
379- ...
371+ ) -> str : ...
380372
381373 @overload
382374 def check_output (
@@ -388,8 +380,7 @@ def check_output(
388380 errors : None = ...,
389381 text : Literal [None , False ] = ...,
390382 ** kwargs : Any ,
391- ) -> bytes :
392- ...
383+ ) -> bytes : ...
393384
394385 def check_output (
395386 self ,
@@ -449,8 +440,7 @@ def run(
449440 errors : Optional [str ] = ...,
450441 input : Optional [str ] = ...,
451442 text : Literal [True ],
452- ) -> subprocess .CompletedProcess [str ]:
453- ...
443+ ) -> subprocess .CompletedProcess [str ]: ...
454444
455445 @overload
456446 def run (
@@ -463,8 +453,7 @@ def run(
463453 errors : Optional [str ] = ...,
464454 input : Optional [str ] = ...,
465455 text : Optional [bool ] = ...,
466- ) -> subprocess .CompletedProcess [str ]:
467- ...
456+ ) -> subprocess .CompletedProcess [str ]: ...
468457
469458 @overload
470459 def run (
@@ -477,8 +466,7 @@ def run(
477466 errors : str ,
478467 input : Optional [str ] = ...,
479468 text : Optional [bool ] = ...,
480- ) -> subprocess .CompletedProcess [str ]:
481- ...
469+ ) -> subprocess .CompletedProcess [str ]: ...
482470
483471 @overload
484472 def run (
@@ -492,8 +480,7 @@ def run(
492480 errors : Optional [str ] = ...,
493481 input : Optional [str ] = ...,
494482 text : Optional [bool ] = ...,
495- ) -> subprocess .CompletedProcess [str ]:
496- ...
483+ ) -> subprocess .CompletedProcess [str ]: ...
497484
498485 @overload
499486 def run (
@@ -506,8 +493,7 @@ def run(
506493 errors : None = ...,
507494 input : Optional [bytes ] = ...,
508495 text : Literal [None , False ] = ...,
509- ) -> subprocess .CompletedProcess [bytes ]:
510- ...
496+ ) -> subprocess .CompletedProcess [bytes ]: ...
511497
512498 def run (
513499 self ,
0 commit comments