File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,9 @@ if sys.platform == "win32":
103103 FILE_ATTRIBUTE_VIRTUAL : Literal [65536 ]
104104
105105if sys .version_info >= (3 , 13 ):
106- SF_SETTABLE : Literal [0xFFFF0000 ]
107- SF_RESTRICTED : Literal [0x00080000 ]
106+ SF_SETTABLE : Literal [0x3FFF0000 ]
107+ # https://github.com/python/cpython/issues/114081#issuecomment-2119017790
108+ # SF_RESTRICTED: Literal[0x00080000]
108109 SF_FIRMLINK : Literal [0x00800000 ]
109110 SF_DATALESS : Literal [0x40000000 ]
110111
Original file line number Diff line number Diff line change 1+ import sys
12from _stat import *
3+ from typing import Literal
4+
5+ if sys .version_info >= (3 , 13 ):
6+ # https://github.com/python/cpython/issues/114081#issuecomment-2119017790
7+ SF_RESTRICTED : Literal [0x00080000 ]
You can’t perform that action at this time.
0 commit comments