markup: removed blank lines to make a definition list

This commit is contained in:
David Goodger 2008-06-16 20:41:12 +00:00
parent 64bf26edce
commit 37739ca138
1 changed files with 0 additions and 5 deletions

View File

@ -112,7 +112,6 @@ was inserted:
New methods not available on dict:
``odict.byindex(index)``
Returns the key/value pair for an index, that is, the "position" of a key in
the ordered dict. 0 is the first key/value pair, -1 the last.
@ -122,12 +121,10 @@ New methods not available on dict:
If there is no key for index an `IndexError` is raised.
``odict.index(key)``
Returns the index of a key. If the key does not exist, a `ValueError` is
raised.
``odict.sort(cmp=None, key=None, reverse=False)``
Sorts the odict in place by cmp or key. This works exactly like
``list.sort()``, but the comparison functions are passed a key/value tuple,
not only the value.
@ -136,11 +133,9 @@ New methods not available on dict:
collections.odict([(1, 4), (23, 7), (42, 1)])
``odict.reverse()``
Reverses the odict in place.
``odict.__reverse__()``
Supports reverse iteration by key.