diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2013-11-26 18:53:23 -0800 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2013-11-26 18:53:23 -0800 |
commit | 5be75fc3ffdf95677ecfc13f7c937a6dd3613ed9 (patch) | |
tree | 00c3a23705680475a06060d68b0caf4fe805a5e2 | |
parent | ad1305b7a0f811eefe277f5938235949f124e7c6 (diff) | |
download | redis-py-5be75fc3ffdf95677ecfc13f7c937a6dd3613ed9.tar.gz |
double quotes rather than singles
-rw-r--r-- | redis/connection.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/redis/connection.py b/redis/connection.py index e111132..4db3c0c 100644 --- a/redis/connection.py +++ b/redis/connection.py @@ -382,15 +382,16 @@ class ConnectionPool(object): "Generic connection pool" def __init__(self, connection_class=Connection, max_connections=None, **connection_kwargs): - '''Create a connection pool. If max_connections is set, then this + """ + Create a connection pool. If max_connections is set, then this object raises redis.ConnectionError when the pool's limit is reached. - + By default, TCP connections are created connection_class is specified. Use redis.UnixDomainSocketConnection for unix sockets. - - Any additional keyword arguments are passed to the constructor of + + Any additional keyword arguments are passed to the constructor of connection_class. - ''' + """ self.pid = os.getpid() self.connection_class = connection_class self.connection_kwargs = connection_kwargs |