summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-11-09 00:42:58 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-11-09 00:42:58 (GMT)
commit903a65d7f15d0e81fb622b7c42f93f9368bebbe5 (patch)
tree3413029445488e7ca3cec51d4b4ee554d88698e2 /Tools/scripts
parent92634d6b3497ba4f5ab0a1f7ed7995a27612654e (diff)
downloadcpython-903a65d7f15d0e81fb622b7c42f93f9368bebbe5.zip
cpython-903a65d7f15d0e81fb622b7c42f93f9368bebbe5.tar.gz
cpython-903a65d7f15d0e81fb622b7c42f93f9368bebbe5.tar.bz2
fix some imports
Diffstat (limited to 'Tools/scripts')
-rw-r--r--Tools/scripts/db2pickle.py4
-rw-r--r--Tools/scripts/pickle2db.py4
-rw-r--r--Tools/scripts/redemo.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/Tools/scripts/db2pickle.py b/Tools/scripts/db2pickle.py
index 0c9b6bf..9dd8bd3 100644
--- a/Tools/scripts/db2pickle.py
+++ b/Tools/scripts/db2pickle.py
@@ -33,12 +33,12 @@ try:
except ImportError:
gdbm = None
try:
- import dbm as anydbm
+ import dbm.ndbm as anydbm
except ImportError:
anydbm = None
import sys
try:
- import cPickle as pickle
+ import pickle as pickle
except ImportError:
import pickle
diff --git a/Tools/scripts/pickle2db.py b/Tools/scripts/pickle2db.py
index 357e628..a43ffae 100644
--- a/Tools/scripts/pickle2db.py
+++ b/Tools/scripts/pickle2db.py
@@ -38,12 +38,12 @@ try:
except ImportError:
gdbm = None
try:
- import dbm as anydbm
+ import dbm.ndbm as anydbm
except ImportError:
anydbm = None
import sys
try:
- import cPickle as pickle
+ import pickle as pickle
except ImportError:
import pickle
diff --git a/Tools/scripts/redemo.py b/Tools/scripts/redemo.py
index b9bfb96..5286332 100644
--- a/Tools/scripts/redemo.py
+++ b/Tools/scripts/redemo.py
@@ -1,6 +1,6 @@
"""Basic regular expression demostration facility (Perl style syntax)."""
-from Tkinter import *
+from tkinter import *
import re
class ReDemo: