mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Clarify why we define error. Suggested by Andrew Dalke.
This commit is contained in:
parent
db6d12c498
commit
287b3996d5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue