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

« back to all changes in this revision

Viewing changes to Lib/lib2to3/fixes/fix_raw_input.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:
2
2
# Author: Andre Roberge
3
3
 
4
4
# Local imports
5
 
from .import basefix
6
 
from .util import Name
 
5
from .. import fixer_base
 
6
from ..fixer_util import Name
7
7
 
8
 
class FixRawInput(basefix.BaseFix):
 
8
class FixRawInput(fixer_base.BaseFix):
9
9
 
10
10
    PATTERN = """
11
 
              power< name='raw_input' trailer< '(' [any] ')' > >
 
11
              power< name='raw_input' trailer< '(' [any] ')' > any* >
12
12
              """
13
13
 
14
14
    def transform(self, node, results):