diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2011-04-09 02:49:19 -0400 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2011-04-09 02:49:19 -0400 |
| commit | d12ce24aaca804e6741252e2144d2d5b844032ab (patch) | |
| tree | 2e4ca47eea6e918c70bd0fe2b57c48badb495995 | |
| parent | 2eb518a7c53702168f5e987c1741512ac5e9b4d7 (diff) | |
| download | redis-py-d12ce24aaca804e6741252e2144d2d5b844032ab.tar.gz | |
added `linsert()` to readme.
| -rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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. |
