Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5b49962

Browse files
Fixes a FileFinder docstring to reflect an old change.
That change was in 1db6553f3f8c.
1 parent b0c75a7 commit 5b49962

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/importlib/_bootstrap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,8 +1330,8 @@ class FileFinder:
13301330

13311331
def __init__(self, path, *details):
13321332
"""Initialize with the path to search on and a variable number of
1333-
3-tuples containing the loader, file suffixes the loader recognizes,
1334-
and a boolean of whether the loader handles packages."""
1333+
2-tuples containing the loader and the file suffixes the loader
1334+
recognizes."""
13351335
loaders = []
13361336
for loader, suffixes in details:
13371337
loaders.extend((suffix, loader) for suffix in suffixes)

0 commit comments

Comments
 (0)