Skip to content

Commit

Permalink
fixup! Ignore PermissionError when checking cwd during import
Browse files Browse the repository at this point in the history
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
  • Loading branch information
moreati and jaraco committed Aug 31, 2024
1 parent 3d362d4 commit 076a29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/reference/import.rst
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ module.

The current working directory -- denoted by an empty string -- is handled
slightly differently from other entries on :data:`sys.path`. First, if the
current working directory cannot be determined or is found to not exist, no
current working directory cannot be determined or is found not to exist, no
value is stored in :data:`sys.path_importer_cache`. Second, the value for the
current working directory is looked up fresh for each module lookup. Third,
the path used for :data:`sys.path_importer_cache` and returned by
Expand Down

0 comments on commit 076a29d

Please sign in to comment.