Remove unused # type: ignore comments (#3325)

This commit is contained in:
Sebastian Rittau
2019-10-09 19:27:18 +02:00
committed by Jelle Zijlstra
parent bd7222c396
commit 07c8675ba5
7 changed files with 20 additions and 34 deletions

View File

@@ -128,19 +128,19 @@ class DefaultContext(object):
if sys.platform != 'win32':
# TODO: type should be BaseProcess once a stub in multiprocessing.process exists
class ForkProcess(Any): # type: ignore
class ForkProcess(Any):
_start_method: str
@staticmethod
def _Popen(process_obj: Any) -> Any: ...
# TODO: type should be BaseProcess once a stub in multiprocessing.process exists
class SpawnProcess(Any): # type: ignore
class SpawnProcess(Any):
_start_method: str
@staticmethod
def _Popen(process_obj: Any) -> SpawnProcess: ...
# TODO: type should be BaseProcess once a stub in multiprocessing.process exists
class ForkServerProcess(Any): # type: ignore
class ForkServerProcess(Any):
_start_method: str
@staticmethod
def _Popen(process_obj: Any) -> Any: ...
@@ -158,7 +158,7 @@ if sys.platform != 'win32':
Process: Type[ForkServerProcess]
else:
# TODO: type should be BaseProcess once a stub in multiprocessing.process exists
class SpawnProcess(Any): # type: ignore
class SpawnProcess(Any):
_start_method: str
@staticmethod
# TODO: type should be BaseProcess once a stub in multiprocessing.process exists