mirror of https://github.com/python/cpython.git
Clarify why we define error. Suggested by Andrew Dalke.
This commit is contained in:
parent
db6d12c498
commit
287b3996d5
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
import bsddb
|
import bsddb
|
||||||
|
|
||||||
error = bsddb.error
|
error = bsddb.error # Exported for anydbm
|
||||||
|
|
||||||
def open(file, flag, mode=0666):
|
def open(file, flag, mode=0666):
|
||||||
return bsddb.hashopen(file, flag, mode)
|
return bsddb.hashopen(file, flag, mode)
|
||||||
|
|
Loading…
Reference in New Issue