mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Use PEP 585 syntax wherever possible (#6717)
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
import sys
|
||||
from typing import Any, Callable, Mapping, Tuple
|
||||
from typing import Any, Callable, Mapping
|
||||
|
||||
class BaseProcess:
|
||||
name: str
|
||||
daemon: bool
|
||||
authkey: bytes
|
||||
_identity: Tuple[int, ...] # undocumented
|
||||
_identity: tuple[int, ...] # undocumented
|
||||
def __init__(
|
||||
self,
|
||||
group: None = ...,
|
||||
target: Callable[..., Any] | None = ...,
|
||||
name: str | None = ...,
|
||||
args: Tuple[Any, ...] = ...,
|
||||
args: tuple[Any, ...] = ...,
|
||||
kwargs: Mapping[str, Any] = ...,
|
||||
*,
|
||||
daemon: bool | None = ...,
|
||||
|
||||
Reference in New Issue
Block a user