Commit 8638ca49 authored by xa's avatar xa

fix doc

parent 0512f0ec
......@@ -20,7 +20,7 @@ Connect directly to a nsq daemon:
.. code-block:: python
from aionsq.tcp import NSQClient
nsq = NSQClient(lookup='http://120.0.0.1:4567')
nsq = NSQClient('http://120.0.0.1:4567')
chan = client.subscribe('topic1', 'chan1')
@chan.subscribe('test')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment