##// END OF EJS Templates
No need for string module now.
Thomas Kluyver -
Show More
@@ -24,7 +24,6 b' import atexit'
24 import codeop
24 import codeop
25 import os
25 import os
26 import re
26 import re
27 import string
28 import sys
27 import sys
29 import tempfile
28 import tempfile
30 import types
29 import types
@@ -1536,8 +1535,7 b' class InteractiveShell(Configurable, Magic):'
1536 # Remove some chars from the delimiters list. If we encounter
1535 # Remove some chars from the delimiters list. If we encounter
1537 # unicode chars, discard them.
1536 # unicode chars, discard them.
1538 delims = readline.get_completer_delims().encode("ascii", "ignore")
1537 delims = readline.get_completer_delims().encode("ascii", "ignore")
1539 delims = delims.translate(string._idmap,
1538 delims = delims.translate(None, self.readline_remove_delims)
1540 self.readline_remove_delims)
1541 delims = delims.replace(ESC_MAGIC, '')
1539 delims = delims.replace(ESC_MAGIC, '')
1542 readline.set_completer_delims(delims)
1540 readline.set_completer_delims(delims)
1543 # otherwise we end up with a monster history after a while:
1541 # otherwise we end up with a monster history after a while:
General Comments 0
You need to be logged in to leave comments. Login now