vim string representation fixes #6

This commit is contained in:
David Halter
2012-09-30 22:41:54 +02:00
parent d4e2e082d6
commit f62067b463
2 changed files with 2 additions and 2 deletions

2
jedi

Submodule jedi updated: 908d019390...ff84e4670b

View File

@@ -85,7 +85,7 @@ class PythonToVimStr(str):
""" Vim has a different string implementation of single quotes """
__slots__ = []
def __repr__(self):
return '"%s"' % self.replace('"', r'\"')
return '"%s"' % self.replace('\\', '\\\\').replace('"', r'\"')
def echo_highlight(msg):