mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Add st_file_attributes to stat_result for Windows (#4156)
This member is documented at https://docs.python.org/3/library/os.html#os.stat_result.st_file_attributes and https://docs.python.org/3/whatsnew/3.5.html#os Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -216,6 +216,8 @@ class stat_result:
|
||||
st_ctime_ns: int # platform dependent (time of most recent metadata change on Unix, or the time of creation on Windows) in nanoseconds
|
||||
if sys.version_info >= (3, 8) and sys.platform == "win32":
|
||||
st_reparse_tag: int
|
||||
if sys.version_info >= (3, 5) and sys.platform == "win32":
|
||||
st_file_attributes: int
|
||||
|
||||
def __getitem__(self, i: int) -> int: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user