FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-143513 Clarify historic behaviour of importlib ResourceReader · moreati/cpython@9a8171c · GitHub

Repository navigation

Commit 9a8171c

Browse files
committed
pythonGH-143513 Clarify historic behaviour of importlib ResourceReader
1 parent f8262b8 commit 9a8171c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎Doc/library/importlib.resources.abc.rst‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@
8989
the file system then those subdirectory names can be used
9090
directly.
9191

92-
The abstract method returns an iterable of no items.
92+
The abstract method raises :exc:`FileNotFoundError`.
93+
94+
.. versionchanged:: 3.10
95+
The abstract method changed from returning an empty iterable
96+
to raising :exc:`FileNotFoundError`.
9397

9498

9599
.. class:: Traversable

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL