Skip to content

Commit

Permalink
stat: add constants in py313 (#11936)
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed May 17, 2024
1 parent 9661e14 commit 459c328
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions stdlib/_stat.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,16 @@ if sys.platform == "win32":
FILE_ATTRIBUTE_SYSTEM: Literal[4]
FILE_ATTRIBUTE_TEMPORARY: Literal[256]
FILE_ATTRIBUTE_VIRTUAL: Literal[65536]

if sys.version_info >= (3, 13):
SF_SETTABLE: Literal[0xFFFF0000]
SF_RESTRICTED: Literal[0x00080000]
SF_FIRMLINK: Literal[0x00800000]
SF_DATALESS: Literal[0x40000000]

SF_SUPPORTED: Literal[0x9F0000]
SF_SYNTHETIC: Literal[0xC0000000]

UF_TRACKED: Literal[0x00000040]
UF_DATAVAULT: Literal[0x00000080]
UF_SETTABLE: Literal[0x0000FFFF]

0 comments on commit 459c328

Please sign in to comment.