Add fchmod and lchmod for Windows on 3.13 (#12662)

This commit is contained in:
Max Muoto
2024-09-15 15:13:09 -05:00
committed by GitHub
parent 9e506eb5e8
commit dbe4d32a2a
3 changed files with 11 additions and 6 deletions

View File

@@ -107,5 +107,7 @@ if sys.platform == "win32":
listvolumes as listvolumes,
set_blocking as set_blocking,
)
if sys.version_info >= (3, 13):
from os import fchmod as fchmod, lchmod as lchmod
environ: dict[str, str]