use builtin repl completion after all, but written by us not the std lib module, which doesn't seem to work really, #280

This commit is contained in:
David Halter committed 2013-08-15 12:47:10 +04:30
1 parent 306dbf12e4
commit 9a3ea38b1c
4 files changed
+47 -12

No files matched your search

+5
View File
@@ -173,3 +173,8 @@ def u(string):
elif not isinstance(string, unicode):
return unicode(str(string), 'UTF-8')
return string
try:
import builtins # module name in python 3
except ImportError:
import __builtin__ as builtins