Annotate **kwargs with dictionary value type only (#320)

This commit is contained in:
tewe authored and Guido van Rossum committed 2016-06-29 08:43:13 -07:00
1 parent ab4734ff7f
commit c84c138194
7 files changed
+14 -14

No files matched your search

+2 -2
View File
@@ -102,13 +102,13 @@ class AbstractEventLoop(metaclass=ABCMeta):
@abstractmethod
def subprocess_shell(self, protocol_factory: Any, cmd: Union[bytes, str], *, stdin: Any = ...,
stdout: Any = ..., stderr: Any = ...,
**kwargs: Dict[str, Any]) -> tuple: ...
**kwargs: Any) -> tuple: ...
#?? check Any
# return (Transport, Protocol)
@abstractmethod
def subprocess_exec(self, protocol_factory: Any, *args: List[Any], stdin: Any = ...,
stdout: Any = ..., stderr: Any = ...,
**kwargs: Dict[str, Any]) -> tuple: ...
**kwargs: Any) -> tuple: ...
#?? check Any
# return (Transport, Protocol)
@abstractmethod