@@ -126,8 +126,8 @@ def get_segments(
126126 """Get all segments that match the requested name.
127127
128128 :param name: The name of the segments to return.
129- :param predicate: Optional callable that returns True if the given
130- segment matches a condition .
129+ :param predicate: Optional callable that accepts a segment as argument.
130+ Only segments for which the returned value is ``True'' are returned .
131131
132132 :rtype: list of :class:`Segment` objects.
133133 """
@@ -190,10 +190,11 @@ def add_segments(
190190 ) -> "AbstractSegmentsContainer" :
191191 """Append a list of segments to the collection.
192192
193- Passing a ``UNA`` segment means setting/overriding the control characters and
194- setting the serializer to output the Service String Advice. If you wish to
195- change the control characters from the default and not output the Service String
196- Advice, change :attr:`characters` instead, without passing a UNA Segment.
193+ For the :class:`Interchange` subclass, passing a ``UNA`` segment means
194+ setting/overriding the control characters and setting the serializer to output
195+ the Service String Advice. If you wish to change the control characters from the
196+ default and not output the Service String Advice, change :attr:`characters`
197+ instead, without passing a ``UNA`` Segment.
197198
198199 :param segments: The segments to add.
199200 :type segments: List or iterable of :class:`~pydifact.segments.Segment` objects.
0 commit comments