diff options
| author | Andy McCurdy <andy@andymccurdy.com> | 2011-04-26 17:12:32 -0700 |
|---|---|---|
| committer | Andy McCurdy <andy@andymccurdy.com> | 2011-04-26 17:12:32 -0700 |
| commit | 43aa23146ad287959369161038a4e5cda985a259 (patch) | |
| tree | 35d7997abde30aa305ce9d003195af9ce67d2198 | |
| parent | b91169c8509becce45dc0fda55ddfe870480c0f9 (diff) | |
| parent | d12ce24aaca804e6741252e2144d2d5b844032ab (diff) | |
| download | redis-py-43aa23146ad287959369161038a4e5cda985a259.tar.gz | |
Merged pull request #129 from kennethreitz/feature/docfix.
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. |
