Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/bsddb.rst

    r2 r391  
    88
    99.. 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.
    1111
    1212
     
    5555   (read only), ``'w'`` (read-write) , ``'c'`` (read-write - create if necessary;
    5656   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 :cfunc:`dbopen`
     57   arguments are rarely used and are just passed to the low-level :c:func:`dbopen`
    5858   function.  Consult the Berkeley DB documentation for their use and
    5959   interpretation.
     
    8787   with the old Berkeley DB 1.85 database library.  The :mod:`bsddb185` module
    8888   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.
    9090
    9191
     
    171171
    172172   >>> import bsddb
    173    >>> db = bsddb.btopen('/tmp/spam.db', 'c')
     173   >>> db = bsddb.btopen('spam.db', 'c')
    174174   >>> for i in range(10): db['%d'%i] = '%d'% (i*i)
    175175   ...
Note: See TracChangeset for help on using the changeset viewer.