#17198: merge with 3.3.

This commit is contained in:
Ezio Melotti 2013-07-07 13:16:05 +02:00
commit 9f96789cdc
3 changed files with 24 additions and 2 deletions

View file

@ -44,6 +44,11 @@ _modules = {}
error = (error, OSError)
try:
from dbm import ndbm
except ImportError:
ndbm = None
def open(file, flag='r', mode=0o666):
"""Open or create database at path given by *file*.