# HG changeset patch # User Thierry Florac # Date 1497886186 -7200 # Node ID 02671458ec76354c3f75a890bd178750e9f22b7a # Parent a543685e0ca1a6090e34afabab3c821983006c98 Updated docstrings diff -r a543685e0ca1 -r 02671458ec76 src/pyams_utils/context.py --- a/src/pyams_utils/context.py Mon Jun 19 16:26:33 2017 +0200 +++ b/src/pyams_utils/context.py Mon Jun 19 17:29:46 2017 +0200 @@ -26,6 +26,8 @@ This selector can be used as a subscriber predicate to define an interface that the context must support for the event to be applied:: + .. code-block:: python + from pyams_utils.interfaces.site import ISiteRoot @subscriber(IObjectModifiedEvent, context_selector=ISiteRoot) diff -r a543685e0ca1 -r 02671458ec76 src/pyams_utils/data.py --- a/src/pyams_utils/data.py Mon Jun 19 16:26:33 2017 +0200 +++ b/src/pyams_utils/data.py Mon Jun 19 17:29:46 2017 +0200 @@ -75,6 +75,7 @@ which stores all object data (see `pyams_utils.interfaces.data.IObjectData` interface), like this:: .. code-block:: html +
...
""" @@ -95,6 +96,7 @@ For example:: .. code-block:: html +
...
""" @@ -111,6 +113,7 @@ For example:: .. code-block:: html +
...
"""