diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2012-06-23 02:12:56 +0200 |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-06-23 02:12:56 +0200 |
| commit | 310f95b04db22fef2d2e66bae628c07f4cb0b097 (patch) | |
| tree | 74416ae028cd43b2b567ca68950e0a182a7ca321 /Lib/importlib/_bootstrap.py | |
| parent | 67cbf7bff9173463c9bad620ebe534a24e245f45 (diff) | |
| download | cpython-git-310f95b04db22fef2d2e66bae628c07f4cb0b097.tar.gz | |
A better repr() for FileFinder
Diffstat (limited to 'Lib/importlib/_bootstrap.py')
| -rw-r--r-- | Lib/importlib/_bootstrap.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py index 117c0f61bd..40d500ada2 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -1169,6 +1169,8 @@ class FileFinder: return path_hook_for_FileFinder + def __repr__(self): + return "FileFinder(%r)" % (self.path,) # Import itself ############################################################### |
