mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
#17198: merge with 3.3.
This commit is contained in:
commit
9f96789cdc
3 changed files with 24 additions and 2 deletions
|
@ -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*.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue