Skip to content

Commit fd9ce71

Browse files
committed
Add comment
1 parent f4dc9f4 commit fd9ce71

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/zoneinfo/_common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ def load_tzdata(key):
1010

1111
try:
1212
path = resources.files(package_name).joinpath(resource_name)
13+
# gh-85702: Prevent PermissionError on Windows
1314
if path.is_dir():
1415
raise IsADirectoryError
1516
return path.open("rb")

0 commit comments

Comments
 (0)