[kupfer] data: Use @parameter syntax in Searcher docstring
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] data: Use @parameter syntax in Searcher docstring
- Date: Sat, 29 Aug 2009 19:42:15 +0000 (UTC)
commit 12489aec143e600070a3c04a50d9a57ae48840bb
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Sat Aug 29 18:14:58 2009 +0200
data: Use @parameter syntax in Searcher docstring
kupfer/data.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/kupfer/data.py b/kupfer/data.py
index 556b8ff..4d78723 100644
--- a/kupfer/data.py
+++ b/kupfer/data.py
@@ -51,8 +51,8 @@ class Searcher (object):
If @score, sort by rank.
filters (with identity() as default):
- item_check: Check items before adding to search pool
- decorator: Decorate items before access
+ @item_check: Check items before adding to search pool
+ @decorator: Decorate items before access
Return (first, match_iter), where first is the first match,
and match_iter an iterator to all matches, including the first match.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]