I type this:
and then hit Ctrl-Space and get this mangled completion in code:
.sort(cmp=None, key=None, reverse=False, __, stable, sort, *IN, PLACE*; cmp, x, y)
When I type just this without the opening parenthesis:
and hit Ctrl-Space, I get the doc view, where on the left side I get the same as above (minus the . prefix) but on the right I get the doc text:
L.sort(cmp=None, key=None, reverse=False) -- stable sort *IN PLACE*; cmp(x, y) -> -1, 0, 1
Presumably the parsing mistake lies in looking for the asterisk (signifying a parameter to hold excess positional arguments), before looking for the closing parenthesis.