~pythonregexp2.7/python/issue2636-11

« back to all changes in this revision

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

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-21 13:47:31 UTC
  • mfrom: (39021.1.404 Regexp-2.7)
  • mto: This revision was merged to the branch mainline in revision 39030.
  • Revision ID: darklord@timehorse.com-20080921134731-rudomuzeh1b2tz1y
Merged in changes from the latest python source snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    """
9
9
 
10
10
# Local imports
11
 
from . import basefix
12
 
from .util import Name
 
11
from .. import fixer_base
 
12
from ..fixer_util import Name
13
13
 
14
 
class FixItertools(basefix.BaseFix):
 
14
class FixItertools(fixer_base.BaseFix):
15
15
    it_funcs = "('imap'|'ifilter'|'izip'|'ifilterfalse')"
16
16
    PATTERN = """
17
17
              power< it='itertools'