##// END OF EJS Templates
Merge pull request #10046 from ivanov/fix-tab-completion...
Matthias Bussonnier -
r23444:3c154253 merge
parent child Browse files
Show More
@@ -40,6 +40,9 b' def dir2(obj):'
40 # TypeError: dir(obj) does not return a list
40 # TypeError: dir(obj) does not return a list
41 words = set()
41 words = set()
42
42
43 if safe_hasattr(obj, '__class__'):
44 words |= set(dir(obj.__class__))
45
43 # filter out non-string attributes which may be stuffed by dir() calls
46 # filter out non-string attributes which may be stuffed by dir() calls
44 # and poor coding in third-party modules
47 # and poor coding in third-party modules
45
48
General Comments 0
You need to be logged in to leave comments. Login now