##// END OF EJS Templates
restore tab completion behavior...
Paul Ivanov -
Show More
@@ -41,6 +41,9 b' def dir2(obj):'
41 # TypeError: dir(obj) does not return a list
41 # TypeError: dir(obj) does not return a list
42 words = set()
42 words = set()
43
43
44 if safe_hasattr(obj, '__class__'):
45 words |= set(dir(obj.__class__))
46
44 # filter out non-string attributes which may be stuffed by dir() calls
47 # filter out non-string attributes which may be stuffed by dir() calls
45 # and poor coding in third-party modules
48 # and poor coding in third-party modules
46
49
General Comments 0
You need to be logged in to leave comments. Login now