QScintilla/TypingCompleters/CompleterPython.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 13
1af94a91f439
--- a/QScintilla/TypingCompleters/CompleterPython.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/QScintilla/TypingCompleters/CompleterPython.py	Sat Jan 02 15:11:35 2010 +0000
@@ -12,7 +12,7 @@
 from PyQt4.QtCore import QObject, SIGNAL, QRegExp
 from PyQt4.Qsci import QsciLexerPython
 
-from CompleterBase import CompleterBase
+from .CompleterBase import CompleterBase
 
 import Preferences
 
@@ -88,7 +88,7 @@
         
         @param charNumber value of the character entered (integer)
         """
-        char = unichr(charNumber)
+        char = chr(charNumber)
         if char not in ['(', ')', '{', '}', '[', ']', ' ', ',', "'", '"', '\n', ':']:
             return  # take the short route
         

eric ide

mercurial