~ubuntu-branches/ubuntu/lucid/python2.6/lucid

« back to all changes in this revision

Viewing changes to Doc/library/dbhash.rst

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-03-11 13:30:19 UTC
  • mto: (10.1.13 sid)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20100311133019-sblbooa3uqrkoe70
Tags: upstream-2.6.5~rc2
ImportĀ upstreamĀ versionĀ 2.6.5~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
Database Objects
73
73
----------------
74
74
 
75
 
The database objects returned by :func:`open` provide the methods  common to all
 
75
The database objects returned by :func:`.open` provide the methods  common to all
76
76
the DBM-style databases and mapping objects.  The following methods are
77
77
available in addition to the standard methods.
78
78
 
80
80
.. method:: dbhash.first()
81
81
 
82
82
   It's possible to loop over every key/value pair in the database using this
83
 
   method   and the :meth:`next` method.  The traversal is ordered by the databases
 
83
   method and the :meth:`!next` method.  The traversal is ordered by the databases
84
84
   internal hash values, and won't be sorted by the key values.  This method
85
85
   returns the starting key.
86
86