]> git.phdru.name Git - dotfiles.git/blobdiff - .vim/python/completion.py
.vim/python/completion.py: Fix "bare exec" in Python 2
[dotfiles.git] / .vim / python / completion.py
index 037a93d105b2252f21d48181202737a59defbbf3..036aef83fe4ada4861833f8c6ba1d4388104b9b3 100644 (file)
@@ -32,7 +32,7 @@ def vim_calc(command):
     if result != None:
       print(result)
       _ = result
-      xx = ''.join('\\x%02x' % ord(x) for x in str(_))
+      xx = ''.join(['\\x%02x' % ord(x) for x in str(_)])
       vim.command('let @" = "%s"' % xx)
 
 def vim_pydo(command):