diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-06-23 00:12:56 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-06-23 00:12:56 (GMT) |
commit | 310f95b04db22fef2d2e66bae628c07f4cb0b097 (patch) | |
tree | 74416ae028cd43b2b567ca68950e0a182a7ca321 /Lib/importlib/_bootstrap.py | |
parent | 67cbf7bff9173463c9bad620ebe534a24e245f45 (diff) | |
download | cpython-310f95b04db22fef2d2e66bae628c07f4cb0b097.zip cpython-310f95b04db22fef2d2e66bae628c07f4cb0b097.tar.gz cpython-310f95b04db22fef2d2e66bae628c07f4cb0b097.tar.bz2 |
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 117c0f6..40d500a 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 ############################################################### |