mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merge doc/argument name fix
This commit is contained in:
commit
390f6c1bf7
2 changed files with 3 additions and 3 deletions
|
@ -1361,12 +1361,12 @@ class FileFinder:
|
|||
|
||||
"""
|
||||
|
||||
def __init__(self, path, *details):
|
||||
def __init__(self, path, *loader_details):
|
||||
"""Initialize with the path to search on and a variable number of
|
||||
2-tuples containing the loader and the file suffixes the loader
|
||||
recognizes."""
|
||||
loaders = []
|
||||
for loader, suffixes in details:
|
||||
for loader, suffixes in loader_details:
|
||||
loaders.extend((suffix, loader) for suffix in suffixes)
|
||||
self._loaders = loaders
|
||||
# Base (directory) path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue