--- a/RefactoringRope/CodeAssistClient.py Fri Oct 11 18:42:45 2019 +0200 +++ b/RefactoringRope/CodeAssistClient.py Fri Oct 11 19:05:23 2019 +0200 @@ -314,8 +314,13 @@ if not objectFullname and typeName[1] not in ["", "<unknown>"]: objectFullname = typeName[1] - return dict(name=objectFullname, argspec=argspec, module=module, - docstring=documentation, typ=typeName[0]) + return { + "name": objectFullname, + "argspec": argspec, + "module": module, + "docstring": documentation, + "typ": typeName[0] + } def __getObjectTypeAndName(self, project, sourceCode, offset, resource=None, maxfixes=1):