Improve the docs we show on properties and variables
commit4df7a54884ea697249e7a1ca8c91d712aba9ee4e
authorOwen W. Taylor <otaylor@fishsoup.net>
Mon, 3 Dec 2007 01:04:15 +0000 (2 20:04 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Mon, 3 Dec 2007 01:04:15 +0000 (2 20:04 -0500)
treed247c7926099a89db6e4e2b6f8200f90762d078e
parent4cc9c8875a61e5a52c6a674fbe4c99b9cac96330
Improve the docs we show on properties and variables
tokenized_statement.py: Look in the obj.__class__ to find
  'object_to_complete_to' rather than calling getattr()
  directly. This avoids major inefficiency with ndarray.imag,
  etc, and gives better docs.
completion_popup.py: Don't show the class docs for a variable,
  it's confusing
lib/reinteract/completion_popup.py
lib/reinteract/tokenized_statement.py