diff Lib/importlib/_bootstrap.py @ 77600:df856963fc6c

A better repr() for FileFinder
author Antoine Pitrou <solipsis@pitrou.net>
date Sat, 23 Jun 2012 02:12:56 +0200
parents 240b7467e65c
children 2051fead1933
line wrap: on
line diff
--- a/Lib/importlib/_bootstrap.py	Fri Jun 22 17:06:48 2012 -0700
+++ b/Lib/importlib/_bootstrap.py	Sat Jun 23 02:12:56 2012 +0200
@@ -1169,6 +1169,8 @@
 
         return path_hook_for_FileFinder
 
+    def __repr__(self):
+        return "FileFinder(%r)" % (self.path,)
 
 
 # Import itself ###############################################################