mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Use PEP 585 syntax in Python 2, protobuf & _ast stubs, where possible (#6949)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Any, List, overload
|
||||
from typing import Any, overload
|
||||
from typing_extensions import Literal
|
||||
|
||||
AFMT_AC3: int
|
||||
@@ -114,8 +114,8 @@ SOUND_MIXER_TREBLE: int
|
||||
SOUND_MIXER_VIDEO: int
|
||||
SOUND_MIXER_VOLUME: int
|
||||
|
||||
control_labels: List[str]
|
||||
control_names: List[str]
|
||||
control_labels: list[str]
|
||||
control_names: list[str]
|
||||
|
||||
# TODO: oss_audio_device return type
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user