mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 05:54:02 +08:00
Add new constants to winsound (#13695)
This commit is contained in:
@@ -22,13 +22,6 @@ encodings.win32_code_page_search_function
|
||||
nt.readinto
|
||||
pathlib.Path.group
|
||||
pathlib.Path.owner
|
||||
winsound.MB_ICONERROR
|
||||
winsound.MB_ICONINFORMATION
|
||||
winsound.MB_ICONSTOP
|
||||
winsound.MB_ICONWARNING
|
||||
winsound.SND_SENTRY
|
||||
winsound.SND_SYNC
|
||||
winsound.SND_SYSTEM
|
||||
zlib.ZLIBNG_VERSION
|
||||
|
||||
|
||||
|
||||
@@ -13,12 +13,22 @@ if sys.platform == "win32":
|
||||
SND_NODEFAULT: Final = 2
|
||||
SND_NOSTOP: Final = 16
|
||||
SND_NOWAIT: Final = 8192
|
||||
if sys.version_info >= (3, 14):
|
||||
SND_SENTRY: Final = 524288
|
||||
SND_SYNC: Final = 0
|
||||
SND_SYSTEM: Final = 2097152
|
||||
|
||||
MB_ICONASTERISK: Final = 64
|
||||
MB_ICONEXCLAMATION: Final = 48
|
||||
MB_ICONHAND: Final = 16
|
||||
MB_ICONQUESTION: Final = 32
|
||||
MB_OK: Final = 0
|
||||
if sys.version_info >= (3, 14):
|
||||
MB_ICONERROR: Final = 16
|
||||
MB_ICONINFORMATION: Final = 64
|
||||
MB_ICONSTOP: Final = 16
|
||||
MB_ICONWARNING: Final = 48
|
||||
|
||||
def Beep(frequency: int, duration: int) -> None: ...
|
||||
# Can actually accept anything ORed with 4, and if not it's definitely str, but that's inexpressible
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user