mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Use lowercase tuple where possible (#6170)
This commit is contained in:
@@ -2,7 +2,7 @@ import subprocess
|
||||
import sys
|
||||
from _typeshed import StrOrBytesPath
|
||||
from asyncio import events, protocols, streams, transports
|
||||
from typing import IO, Any, Callable, Tuple, Union
|
||||
from typing import IO, Any, Callable, Union
|
||||
from typing_extensions import Literal
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
@@ -38,7 +38,7 @@ class Process:
|
||||
def send_signal(self, signal: int) -> None: ...
|
||||
def terminate(self) -> None: ...
|
||||
def kill(self) -> None: ...
|
||||
async def communicate(self, input: bytes | None = ...) -> Tuple[bytes, bytes]: ...
|
||||
async def communicate(self, input: bytes | None = ...) -> tuple[bytes, bytes]: ...
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
async def create_subprocess_shell(
|
||||
|
||||
Reference in New Issue
Block a user