summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-04-09 02:49:19 -0400
committerKenneth Reitz <me@kennethreitz.com>2011-04-09 02:49:19 -0400
commitd12ce24aaca804e6741252e2144d2d5b844032ab (patch)
tree2e4ca47eea6e918c70bd0fe2b57c48badb495995
parent2eb518a7c53702168f5e987c1741512ac5e9b4d7 (diff)
downloadredis-py-d12ce24aaca804e6741252e2144d2d5b844032ab.tar.gz
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.