mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-10 23:29:12 +08:00
Fix availability of some constants for Windows (#10818)
This commit is contained in:
1 parent
efa7a51d09
commit
205cfcfca6
5 files changed
+8
-11
No files matched your search
+2
-1
@@ -1,8 +1,9 @@
|
||||
import sys
|
||||
from typing_extensions import Literal
|
||||
from typing_extensions import Final, Literal
|
||||
|
||||
# This module is only available on Windows
|
||||
if sys.platform == "win32":
|
||||
CRT_ASSEMBLY_VERSION: Final[str]
|
||||
LK_UNLCK: Literal[0]
|
||||
LK_LOCK: Literal[1]
|
||||
LK_NBLCK: Literal[2]
|
||||
|
||||
Reference in new issue
Block a user