summaryrefslogtreecommitdiff
path: root/kafka/util.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2015-01-23 09:41:03 -0800
committerDana Powers <dana.powers@gmail.com>2015-01-23 09:41:03 -0800
commit587206ff6ad59ae01248d24ff9c9fadbdfc1c1fc (patch)
treea2d6f02a0c79ab3774527df39faf21deb4632936 /kafka/util.py
parente6b37c00c5b0a52f821b35a4e26c0943f3e05b07 (diff)
parent01f378328e5383d05d52428b815f992eb2c536cb (diff)
downloadkafka-python-587206ff6ad59ae01248d24ff9c9fadbdfc1c1fc.tar.gz
Merge pull request #282 from wedaly/sphinx-api-docs
Add Sphinx API docs
Diffstat (limited to 'kafka/util.py')
-rw-r--r--kafka/util.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/kafka/util.py b/kafka/util.py
index 72ac521..622b1a7 100644
--- a/kafka/util.py
+++ b/kafka/util.py
@@ -103,10 +103,12 @@ class ReentrantTimer(object):
A timer that can be restarted, unlike threading.Timer
(although this uses threading.Timer)
- t: timer interval in milliseconds
- fn: a callable to invoke
- args: tuple of args to be passed to function
- kwargs: keyword arguments to be passed to function
+ Arguments:
+
+ t: timer interval in milliseconds
+ fn: a callable to invoke
+ args: tuple of args to be passed to function
+ kwargs: keyword arguments to be passed to function
"""
def __init__(self, t, fn, *args, **kwargs):