Skip to content

Commit 022d0e2

Browse files
committed
Clarify 'search_matches' docs.
1 parent 56039e6 commit 022d0e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/design.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,15 +475,15 @@ Here is the interface provided by the hyperdatabase::
475475
match the 'filter' spec, sorted by the group spec and then the
476476
sort spec.
477477

478+
"search_matches" is a container type
479+
478480
"filterspec" is {propname: value(s)}
479481

480482
"sort" and "group" are [(dir, prop), ...] where dir is '+', '-'
481483
or None and prop is a prop name or None. Note that for
482484
backward-compatibility reasons a single (dir, prop) tuple is
483485
also allowed.
484486

485-
"search_matches" is {nodeid: marker}
486-
487487
The filter must match all properties specificed. If the property
488488
value to match is a list:
489489

roundup/hyperdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ def filter(self, search_matches, filterspec, sort=[], group=[]):
11291129
backward-compatibility reasons a single (dir, prop) tuple is
11301130
also allowed.
11311131
1132-
"search_matches" is a sequence type
1132+
"search_matches" is a container type
11331133
11341134
The filter must match all properties specificed. If the property
11351135
value to match is a list:

0 commit comments

Comments
 (0)