Skip to content

Commit 125c663

Browse files
committed
nit fix
1 parent 7b10471 commit 125c663

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tornado_mysql/pools.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from tornado.ioloop import IOLoop
88
from tornado.gen import coroutine, Return
9-
from tornado.concurrent import Future, chain_future
9+
from tornado.concurrent import Future
1010

1111
from tornado_mysql import connect
1212
from tornado_mysql.connections import Connection
@@ -55,6 +55,7 @@ def __init__(self,
5555
self._waitings = deque()
5656

5757
def stat(self):
58+
"""Returns (opened connections, free connections, waiters)"""
5859
return (self._opened_conns, len(self._free_conn), len(self._waitings))
5960

6061
def _get_conn(self):

0 commit comments

Comments
 (0)