summaryrefslogtreecommitdiffstats
path: root/Lib/dbm
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-10-27 13:08:37 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-10-27 13:08:37 (GMT)
commit56e00caad72ef73d4fc40c13fcfdfc456ee6e47f (patch)
tree579afa361322e0e09f49b0f4cd455221edd70bfc /Lib/dbm
parent37276007210401de5ace8755066ff84048b09bd6 (diff)
downloadcpython-56e00caad72ef73d4fc40c13fcfdfc456ee6e47f.zip
cpython-56e00caad72ef73d4fc40c13fcfdfc456ee6e47f.tar.gz
cpython-56e00caad72ef73d4fc40c13fcfdfc456ee6e47f.tar.bz2
Backporting since it would have helped us find a regression.
Merged revisions 75314 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r75314 | antoine.pitrou | 2009-10-10 23:08:31 +0200 (sam., 10 oct. 2009) | 10 lines Merged revisions 75312 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75312 | antoine.pitrou | 2009-10-10 22:52:11 +0200 (sam., 10 oct. 2009) | 4 lines Issue #7055: test___all__ now greedily detects all modules which have an __all__ attribute, rather than using a hardcoded and incomplete list. ........ ................
Diffstat (limited to 'Lib/dbm')
-rw-r--r--Lib/dbm/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dbm/__init__.py b/Lib/dbm/__init__.py
index 56555be..c224847 100644
--- a/Lib/dbm/__init__.py
+++ b/Lib/dbm/__init__.py
@@ -36,7 +36,7 @@ Note: 'r' and 'w' fail if the database doesn't exist; 'c' creates it
only if it doesn't exist; and 'n' always creates a new database.
"""
-__all__ = ['open', 'whichdb', 'error', 'errors']
+__all__ = ['open', 'whichdb', 'error', 'error']
import io
import os