mirror of
https://github.com/python/cpython.git
synced 2025-01-27 03:24:35 +08:00
Fixes a FileFinder docstring to reflect an old change.
That change was in 1db6553f3f8c.
This commit is contained in:
parent
b0c75a7dec
commit
5b49962f7e
@ -1330,8 +1330,8 @@ class FileFinder:
|
||||
|
||||
def __init__(self, path, *details):
|
||||
"""Initialize with the path to search on and a variable number of
|
||||
3-tuples containing the loader, file suffixes the loader recognizes,
|
||||
and a boolean of whether the loader handles packages."""
|
||||
2-tuples containing the loader and the file suffixes the loader
|
||||
recognizes."""
|
||||
loaders = []
|
||||
for loader, suffixes in details:
|
||||
loaders.extend((suffix, loader) for suffix in suffixes)
|
||||
|
Loading…
Reference in New Issue
Block a user