Show More
@@ -201,7 +201,11 b' class Completer:' | |||
|
201 | 201 | try: |
|
202 | 202 | object = eval(expr, self.namespace) |
|
203 | 203 | except: |
|
204 | object = eval(expr, self.global_namespace) | |
|
204 | try: | |
|
205 | object = eval(expr, self.global_namespace) | |
|
206 | except: | |
|
207 | return [] | |
|
208 | ||
|
205 | 209 | |
|
206 | 210 | # Start building the attribute list via dir(), and then complete it |
|
207 | 211 | # with a few extra special-purpose calls. |
General Comments 0
You need to be logged in to leave comments.
Login now