Changeset 391 for python/trunk/Doc/library/bsddb.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/library/bsddb.rst
r2 r391 8 8 9 9 .. deprecated:: 2.6 10 The :mod:`bsddb` module has been deprecated for removal in Python 3.0.10 The :mod:`bsddb` module has been removed in Python 3. 11 11 12 12 … … 55 55 (read only), ``'w'`` (read-write) , ``'c'`` (read-write - create if necessary; 56 56 the default) or ``'n'`` (read-write - truncate to zero length). The other 57 arguments are rarely used and are just passed to the low-level :c func:`dbopen`57 arguments are rarely used and are just passed to the low-level :c:func:`dbopen` 58 58 function. Consult the Berkeley DB documentation for their use and 59 59 interpretation. … … 87 87 with the old Berkeley DB 1.85 database library. The :mod:`bsddb185` module 88 88 should never be used directly in new code. The module has been removed in 89 Python 3. 0.If you find you still need it look in PyPI.89 Python 3. If you find you still need it look in PyPI. 90 90 91 91 … … 171 171 172 172 >>> import bsddb 173 >>> db = bsddb.btopen(' /tmp/spam.db', 'c')173 >>> db = bsddb.btopen('spam.db', 'c') 174 174 >>> for i in range(10): db['%d'%i] = '%d'% (i*i) 175 175 ...
Note:
See TracChangeset
for help on using the changeset viewer.