Show More
@@ -73,7 +73,9 b' xmlrpclib zipfile"""' | |||
|
73 | 73 | |
|
74 | 74 | def module_completer(self,event): |
|
75 | 75 | """ Give completions after user has typed 'import' """ |
|
76 | return py_std_modules.split() | |
|
76 | ||
|
77 | import pkgutil | |
|
78 | return [m[1] for m in pkgutil.iter_modules()] | |
|
77 | 79 | |
|
78 | 80 | ip.set_hook('complete_command', module_completer, str_key = 'import') |
|
79 | 81 |
General Comments 0
You need to be logged in to leave comments.
Login now