mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Use PEP 604 syntax wherever possible (#7493)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from typing import Any, Union
|
||||
from typing import Any
|
||||
|
||||
_Text = Union[str, unicode]
|
||||
_Text = str | unicode
|
||||
|
||||
class Completer:
|
||||
def __init__(self, namespace: dict[str, Any] | None = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user