--- a/src/pyams_utils/adapter.py Fri May 25 08:39:32 2018 +0200
+++ b/src/pyams_utils/adapter.py Fri May 25 11:26:13 2018 +0200
@@ -76,7 +76,7 @@
Annotation parameters can be:
- :param str name: (default=''), name of the adapter
+ :param str='' name: name of the adapter
:param [Interface...] context: an interface, or a tuple of interfaces, that the component adapts
:param Interface provides: the interface that the adapter provides
"""
@@ -140,10 +140,10 @@
:param factory: if annotations key is not found, this is the factory which will be used to
create a new object
:param markers: if not None, list of marker interfaces which created adapter should provide
- :param bool notify: if 'False', no notification event will be sent on object creation
- :param bool locate: if 'False', the new object is not attached to any parent
- :param object parent: parent to which new object is attached
- :param str name: if locate is not False, this is the name with which the new object is attached
+ :param bool=True notify: if 'False', no notification event will be sent on object creation
+ :param bool=True locate: if 'False', the new object is not attached to any parent
+ :param object=None parent: parent to which new object is attached
+ :param str=None name: if locate is not False, this is the name with which the new object is attached
to it's parent.
"""
annotations = IAnnotations(context, None)