From ace1c373b028b2fc12fe9dd0798db20834932ce0 2008-09-08 22:19:36 From: gvaroquaux Date: 2008-09-08 22:19:36 Subject: [PATCH] Catter for empty docstrings (bug introduced 2 checkins ago). --- diff --git a/IPython/frontend/wx/wx_frontend.py b/IPython/frontend/wx/wx_frontend.py index d353270..2f0b384 100644 --- a/IPython/frontend/wx/wx_frontend.py +++ b/IPython/frontend/wx/wx_frontend.py @@ -233,6 +233,8 @@ class WxController(ConsoleWidget, PrefilterFrontEnd): for name in symbol_string.split('.')[1:] + ['__doc__']: symbol = getattr(symbol, name) self.AutoCompCancel() + # Check that the symbol can indeed be converted to a string: + symbol += '' wx.CallAfter(self.CallTipShow, self.GetCurrentPos(), symbol) except: # The retrieve symbol couldn't be converted to a string