March 2003
Intermediate to advanced
656 pages
39h 30m
English
set_location
b.set_location(key)Sets b’s current record
to the item with string key key, and
returns a pair
(
key,value
).
If key is not a key in
b, and b is of
type BTree,
b
.set_location(
key
)
sets b’s current record
to the item whose key is the smallest key larger than
key and returns that key/value pair. For
other object types, set_location raises
KeyError if key is not
a key in b.