Permalink
Browse files

Remove unused encoding declaration regex in IPython.core.magic.

  • Loading branch information...
1 parent 9c22fc1 commit 0cb09dbb6468ae179520645f73f9bc165f39d690 @takluyver takluyver committed Mar 25, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 IPython/core/magic.py
View
3 IPython/core/magic.py
@@ -99,9 +99,6 @@ def needs_local_scope(func):
# Used for exception handling in magic_edit
class MacroToEdit(ValueError): pass
-# Taken from PEP 263, this is the official encoding regexp.
-_encoding_declaration_re = re.compile(r"^#.*coding[:=]\s*([-\w.]+)")
-
#***************************************************************************
# Main class implementing Magic functionality

0 comments on commit 0cb09db

Please sign in to comment.