~pythonregexp2.7/python/issue2636-09-01+10

« back to all changes in this revision

Viewing changes to Lib/lib2to3/fixes/fix_standarderror.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 21:39:45 UTC
  • mfrom: (39055.1.33 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922213945-23717m5eiqpamcyn
Merged in changes from the Single-Loop Engine branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
"""Fixer for StandardError -> Exception."""
5
5
 
6
6
# Local imports
7
 
from .import basefix
8
 
from .util import Name
9
 
 
10
 
 
11
 
class FixStandarderror(basefix.BaseFix):
 
7
from .. import fixer_base
 
8
from ..fixer_util import Name
 
9
 
 
10
 
 
11
class FixStandarderror(fixer_base.BaseFix):
12
12
 
13
13
    PATTERN = """
14
14
              'StandardError'