Merged revisions 76156 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r76156 | benjamin.peterson | 2009-11-08 18:42:58 -0600 (Sun, 08 Nov 2009) | 1 line

  fix some imports
........
This commit is contained in:
Benjamin Peterson 2009-11-09 00:45:40 +00:00
parent debfafd4e2
commit 3ad104bcf9
3 changed files with 5 additions and 5 deletions

View File

@ -33,12 +33,12 @@ try:
except ImportError: except ImportError:
gdbm = None gdbm = None
try: try:
import dbm as anydbm import dbm.ndbm as anydbm
except ImportError: except ImportError:
anydbm = None anydbm = None
import sys import sys
try: try:
import cPickle as pickle import pickle as pickle
except ImportError: except ImportError:
import pickle import pickle

View File

@ -38,12 +38,12 @@ try:
except ImportError: except ImportError:
gdbm = None gdbm = None
try: try:
import dbm as anydbm import dbm.ndbm as anydbm
except ImportError: except ImportError:
anydbm = None anydbm = None
import sys import sys
try: try:
import cPickle as pickle import pickle as pickle
except ImportError: except ImportError:
import pickle import pickle

View File

@ -1,6 +1,6 @@
"""Basic regular expression demostration facility (Perl style syntax).""" """Basic regular expression demostration facility (Perl style syntax)."""
from Tkinter import * from tkinter import *
import re import re
class ReDemo: class ReDemo: