summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2011-04-26 17:12:32 -0700
committerAndy McCurdy <andy@andymccurdy.com>2011-04-26 17:12:32 -0700
commit43aa23146ad287959369161038a4e5cda985a259 (patch)
tree35d7997abde30aa305ce9d003195af9ce67d2198
parentb91169c8509becce45dc0fda55ddfe870480c0f9 (diff)
parentd12ce24aaca804e6741252e2144d2d5b844032ab (diff)
downloadredis-py-43aa23146ad287959369161038a4e5cda985a259.tar.gz
Merged pull request #129 from kennethreitz/feature/docfix.
added `linsert()` to readme.
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index ce04e7a..cf0d387 100644
--- a/README.md
+++ b/README.md
@@ -173,13 +173,20 @@ API Reference
Negative indexes are supported and will return an item at the
end of the list
+### linsert(self, name, where, refvalue, value)
+ Insert _value_ in list _name_ either immediately before or after
+ (_where_) _refvalue_.
+
+ Returns the new length of the list on success or -1 if _refvalue_
+ is not in the list.
+
### listen(self)
Listen for messages on channels this client has been subscribed to
### llen(self, name)
Return the length of the list _name_
-###lock(self, name, timeout=None, sleep=0.10000000000000001)
+### lock(self, name, timeout=None, sleep=0.10000000000000001)
Return a new Lock object using key _name_ that mimics
the behavior of threading.Lock.