Gabriel Genellina <gagsl-...@yahoo.com.ar> added the comment: The check is made to decide whether the attribute is a method or not (because methods get a "(" appended) -- for names that fail to exist, one could just omit the "(" and include the name anyway.
rlcompleter does nothing special with __dir__, it always uses dir() only. _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5062> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com