From a83473a19a963eb993d36a72ec88d25a39ec2fdc Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 16 Jul 2015 20:52:27 +0200 Subject: [PATCH] sync_struct: clarify notify_cb doc --- artiq/protocols/sync_struct.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/protocols/sync_struct.py b/artiq/protocols/sync_struct.py index 665edfc91..dfd3a10b5 100644 --- a/artiq/protocols/sync_struct.py +++ b/artiq/protocols/sync_struct.py @@ -53,8 +53,8 @@ class Subscriber: Multiple functions can be specified in a list for the ``Subscriber`` to update several local objects simultaneously. :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): self.notifier_name = notifier_name