mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import sys
|
||||
from typing import Any, Callable, List, Mapping, Tuple
|
||||
from typing import Any, Callable, Mapping, Tuple
|
||||
|
||||
class BaseProcess:
|
||||
name: str
|
||||
@@ -33,7 +33,7 @@ class BaseProcess:
|
||||
def sentinel(self) -> int: ...
|
||||
|
||||
def current_process() -> BaseProcess: ...
|
||||
def active_children() -> List[BaseProcess]: ...
|
||||
def active_children() -> list[BaseProcess]: ...
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
def parent_process() -> BaseProcess | None: ...
|
||||
|
||||
Reference in New Issue
Block a user