Skip to content

Commit bdc37cb

Browse files
committed
1 parent 1b1c248 commit bdc37cb

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/libvcs/_internal/subprocess.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class SubprocessCommand(SkipDefaultFieldsReprMixin):
220220
def Popen(
221221
self,
222222
args: Optional[_CMD] = ...,
223-
universal_newlines: Optional[bool] = ...,
223+
universal_newlines: Optional[bool] = False,
224224
*,
225225
text: Optional[bool] = ...,
226226
encoding: str,
@@ -231,7 +231,7 @@ def Popen(
231231
def Popen(
232232
self,
233233
args: Optional[_CMD] = ...,
234-
universal_newlines: Optional[bool] = ...,
234+
universal_newlines: Optional[bool] = False,
235235
*,
236236
text: Optional[bool] = ...,
237237
encoding: Optional[str] = ...,
@@ -254,7 +254,7 @@ def Popen(
254254
def Popen(
255255
self,
256256
args: Optional[_CMD] = ...,
257-
universal_newlines: Optional[bool] = ...,
257+
universal_newlines: Optional[bool] = False,
258258
*,
259259
text: Literal[True],
260260
encoding: Optional[str] = ...,
@@ -265,11 +265,11 @@ def Popen(
265265
def Popen(
266266
self,
267267
args: Optional[_CMD] = ...,
268-
universal_newlines: Literal[False, None] = ...,
268+
universal_newlines: Literal[False, None] = False,
269269
*,
270270
text: Literal[None, False] = ...,
271-
encoding: None = ...,
272-
errors: None = ...,
271+
encoding: None = None,
272+
errors: None = None,
273273
) -> subprocess.Popen[bytes]: ...
274274

275275
def Popen(
@@ -377,8 +377,8 @@ def check_output(
377377
universal_newlines: Literal[False, None],
378378
*,
379379
input: Optional[Union[str, bytes]] = ...,
380-
encoding: None = ...,
381-
errors: None = ...,
380+
encoding: None = None,
381+
errors: None = None,
382382
text: Literal[None, False] = ...,
383383
**kwargs: Any,
384384
) -> bytes: ...
@@ -490,8 +490,8 @@ def run(
490490
*,
491491
capture_output: bool = False,
492492
check: bool = False,
493-
encoding: None = ...,
494-
errors: None = ...,
493+
encoding: None = None,
494+
errors: None = None,
495495
input: Optional["ReadableBuffer"] = None,
496496
text: Literal[None, False] = ...,
497497
) -> subprocess.CompletedProcess[bytes]: ...

0 commit comments

Comments
 (0)