mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +00:00
A better repr() for FileFinder
This commit is contained in:
parent
67cbf7bff9
commit
310f95b04d
2 changed files with 1090 additions and 1074 deletions
|
@ -1169,6 +1169,8 @@ class FileFinder:
|
||||||
|
|
||||||
return path_hook_for_FileFinder
|
return path_hook_for_FileFinder
|
||||||
|
|
||||||
|
def __repr__(self):
|
||||||
|
return "FileFinder(%r)" % (self.path,)
|
||||||
|
|
||||||
|
|
||||||
# Import itself ###############################################################
|
# Import itself ###############################################################
|
||||||
|
|
2162
Python/importlib.h
2162
Python/importlib.h
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue