baverman/snaked — Issue #49: TypeError when trying to show calltip
Author: pevzi
Created: 2011-11-05 13:34:22+00:00
State: open

Snaked successfully shows calltip only when an open bracket is put after the object name and the cursor is positioned after it. Otherwise, the following error occurs:

```
Traceback (most recent call last):
File "/home/pevzi/src/snaked/snaked/plugins/python/plugin.py", line 158, in show_calltips
sig, docstring = self.env.get_docstring(self.project_path, source, offset, self.editor.uri)
TypeError: 'NoneType' object is not iterable
```