forked from M-Labs/artiq
1
0
Fork 0

sync_struct: clarify notify_cb doc

This commit is contained in:
Sebastien Bourdeauducq 2015-07-16 20:52:27 +02:00
parent 78ee4bdb99
commit a83473a19a
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ class Subscriber:
Multiple functions can be specified in a list for the ``Subscriber`` Multiple functions can be specified in a list for the ``Subscriber``
to update several local objects simultaneously. to update several local objects simultaneously.
:param notify_cb: An optional function called every time a mod is received :param notify_cb: An optional function called every time a mod is received
from the publisher. The mod is passed as parameter. from the publisher. The mod is passed as parameter. The function is
called after the mod has been processed.
""" """
def __init__(self, notifier_name, target_builder, notify_cb=None): def __init__(self, notifier_name, target_builder, notify_cb=None):
self.notifier_name = notifier_name self.notifier_name = notifier_name