davidhalter/jedi — pull request #118 by tkf (2013-01-30 00:24:46+00:00)
Title: Import module part of "dotted" type in docstring

I want completion in source code like this:

```python
# No `import MODULE` in this file.

def function(arg):
"""
Some function

:type arg: MODULE.CLASS
:arg arg: It takes an instance of CLASS from MODULE

"""
arg.
```

I have this working code now, but I am not sure about the last change (81f59f9). Why did you need `p.user_stmt.parent = func`?