summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Bolsterlee <uws@xs4all.nl>2013-05-21 21:57:08 +0200
committerWouter Bolsterlee <uws@xs4all.nl>2013-05-21 21:57:08 +0200
commit7ad4ee8d5c821b33b9d002d3d8c9a355774d173e (patch)
tree2b6a67619e848aa798e9635101a70151f5c10d42
parent288192f1b98806ae605f62d5226311b0e2c3f2e5 (diff)
downloadhappybase-7ad4ee8d5c821b33b9d002d3d8c9a355774d173e.tar.gz
Fix typo in connection pool API docs
-rw-r--r--happybase/pool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/happybase/pool.py b/happybase/pool.py
index 7ab7f60..3e2473d 100644
--- a/happybase/pool.py
+++ b/happybase/pool.py
@@ -179,7 +179,7 @@ class ConnectionPool(object):
This method *must* be used as a context manager, i.e. with
Python's ``with`` block. Example::
- with pool.connection as connection:
+ with pool.connection() as connection:
pass # do something with the connection
If `timeout` is specified, this is the number of seconds to wait