Skip to content

Commit 18959f3

Browse files
committed
add comment for file breaks
1 parent 63b9e22 commit 18959f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pydifact/segmentcollection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ def serialize(self, break_lines: bool = False) -> str:
240240
"""Return the string representation of the object.
241241
242242
:param break_lines: If ``True``, inserts line break after each segment
243-
terminator.
243+
terminator. This is forbidden in the EDIFACT specs, but apparently widely
244+
used.
244245
"""
245246
header = self.get_header_segment()
246247
footer = self.get_footer_segment()

0 commit comments

Comments
 (0)