Show More
@@ -233,6 +233,8 b' class WxController(ConsoleWidget, PrefilterFrontEnd):' | |||||
233 | for name in symbol_string.split('.')[1:] + ['__doc__']: |
|
233 | for name in symbol_string.split('.')[1:] + ['__doc__']: | |
234 | symbol = getattr(symbol, name) |
|
234 | symbol = getattr(symbol, name) | |
235 | self.AutoCompCancel() |
|
235 | self.AutoCompCancel() | |
|
236 | # Check that the symbol can indeed be converted to a string: | |||
|
237 | symbol += '' | |||
236 | wx.CallAfter(self.CallTipShow, self.GetCurrentPos(), symbol) |
|
238 | wx.CallAfter(self.CallTipShow, self.GetCurrentPos(), symbol) | |
237 | except: |
|
239 | except: | |
238 | # The retrieve symbol couldn't be converted to a string |
|
240 | # The retrieve symbol couldn't be converted to a string |
General Comments 0
You need to be logged in to leave comments.
Login now