##// END OF EJS Templates
Remove unused encoding declaration regex in IPython.core.magic.
Thomas Kluyver -
Show More
@@ -99,9 +99,6 b' def needs_local_scope(func):'
99 # Used for exception handling in magic_edit
99 # Used for exception handling in magic_edit
100 class MacroToEdit(ValueError): pass
100 class MacroToEdit(ValueError): pass
101
101
102 # Taken from PEP 263, this is the official encoding regexp.
103 _encoding_declaration_re = re.compile(r"^#.*coding[:=]\s*([-\w.]+)")
104
105 #***************************************************************************
102 #***************************************************************************
106 # Main class implementing Magic functionality
103 # Main class implementing Magic functionality
107
104
General Comments 0
You need to be logged in to leave comments. Login now