Commit 903a65d7 authored by Benjamin Peterson's avatar Benjamin Peterson

fix some imports

parent 92634d6b
...@@ -33,12 +33,12 @@ try: ...@@ -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
......
...@@ -38,12 +38,12 @@ try: ...@@ -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
......
"""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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment