Mercurial > python-cmd2
comparison cmd2.py @ 343:787573d350c5
py3 conversion complete?
author | catherine@Drou |
---|---|
date | Tue, 16 Feb 2010 13:01:41 -0500 |
parents | 9e593c480782 |
children | 6fe1e75e3a67 |
comparison
equal
deleted
inserted
replaced
342:12010fcc4e38 | 343:787573d350c5 |
---|---|
41 from code import InteractiveConsole, InteractiveInterpreter | 41 from code import InteractiveConsole, InteractiveInterpreter |
42 from optparse import make_option | 42 from optparse import make_option |
43 | 43 |
44 if sys.version_info[0] > 2: | 44 if sys.version_info[0] > 2: |
45 import pyparsing_py3 as pyparsing | 45 import pyparsing_py3 as pyparsing |
46 raw_input = input | |
46 else: | 47 else: |
47 import pyparsing | 48 import pyparsing |
48 | 49 |
49 __version__ = '0.6.0' | 50 __version__ = '0.6.0' |
50 | 51 |