Skip to content

Commit b2b1190

Browse files
committed
simplify
1 parent 622d3a1 commit b2b1190

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Doc/library/importlib.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,7 @@ ABC hierarchy::
616616
path. Any intermediate directories which do not exist are to be created
617617
automatically.
618618

619-
When writing to the path fails by raising an :class:`OSError` (e.g.,
620-
the path is read-only (:const:`errno.EACCES`/:exc:`PermissionError`)
619+
When writing to the path fails by raising an :class:`OSError`
621620
or a :class:`ValueError`, the exception is not propagated.
622621

623622
.. versionchanged:: 3.4

0 commit comments

Comments
 (0)