summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2003-06-20 01:01:19 (GMT)
committerSkip Montanaro <skip@pobox.com>2003-06-20 01:01:19 (GMT)
commit8df717a499226c550b4adb9fdc17e66561e94eca (patch)
tree1f033359bcf0bb465e4b07667d8b755eaed17996 /Tools/scripts
parentc5e5e51a3a6333d557523453b3eb8de75451e3ba (diff)
downloadcpython-8df717a499226c550b4adb9fdc17e66561e94eca.zip
cpython-8df717a499226c550b4adb9fdc17e66561e94eca.tar.gz
cpython-8df717a499226c550b4adb9fdc17e66561e94eca.tar.bz2
minor __doc__ string tweakage
Diffstat (limited to 'Tools/scripts')
-rw-r--r--Tools/scripts/pickle2db.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Tools/scripts/pickle2db.py b/Tools/scripts/pickle2db.py
index 715a497..a35021f 100644
--- a/Tools/scripts/pickle2db.py
+++ b/Tools/scripts/pickle2db.py
@@ -4,11 +4,11 @@
Synopsis: %(prog)s [-h|-b|-r|-a|-d] dbfile [ picklefile ]
Read the given picklefile as a series of key/value pairs and write to a new
-bsddb database. If the database already exists, any contents are deleted.
-The optional flags indicate the type of the database (bsddb hash, bsddb
-btree, bsddb recno, anydbm, dbm). The default is hash. If a pickle file is
-named it is opened for read access. If no pickle file is named, the pickle
-input is read from standard input.
+database. If the database already exists, any contents are deleted. The
+optional flags indicate the type of the database (bsddb hash, bsddb btree,
+bsddb recno, anydbm, dbm). The default is hash. If a pickle file is named
+it is opened for read access. If no pickle file is named, the pickle input
+is read from standard input.
Note that recno databases can only contain numeric keys, so you can't dump a
hash or btree database using db2pickle.py and reconstitute it to a recno