summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpython2/pyinotify.py2
-rwxr-xr-xpython3/pyinotify.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/python2/pyinotify.py b/python2/pyinotify.py
index a12ce3f..089b636 100755
--- a/python2/pyinotify.py
+++ b/python2/pyinotify.py
@@ -1614,6 +1614,8 @@ class AsyncioNotifier(Notifier):
default_proc_fun=None, read_freq=0, threshold=0, timeout=None):
"""
+ See examples/asyncio_notifier.py for an example usage.
+
@param loop: asyncio or trollius event loop instance.
@type loop: asyncio.BaseEventLoop or trollius.BaseEventLoop instance.
@param callback: Functor called at the end of each call to handle_read.
diff --git a/python3/pyinotify.py b/python3/pyinotify.py
index 407b74a..a6601c8 100755
--- a/python3/pyinotify.py
+++ b/python3/pyinotify.py
@@ -1604,6 +1604,8 @@ class AsyncioNotifier(Notifier):
default_proc_fun=None, read_freq=0, threshold=0, timeout=None):
"""
+ See examples/asyncio_notifier.py for an example usage.
+
@param loop: asyncio or trollius event loop instance.
@type loop: asyncio.BaseEventLoop or trollius.BaseEventLoop instance.
@param callback: Functor called at the end of each call to handle_read.