Skip to content

Commit 06260cf

Browse files
committed
rm commented returns
1 parent 5153877 commit 06260cf

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

pydifact/control/characters.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ def with_control_character(self, cc_type: str, char: str):
8888
other = copy(self)
8989
setattr(other, cc_type, char)
9090

91-
# return clone
9291
return other
9392

9493
@property

pydifact/segmentcollection.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,6 @@ def add_segments(self, segments: Iterable[Segment]) -> None:
203203
for segment in segments:
204204
self.add_segment(segment)
205205

206-
# return self
207-
208206
def add_segment(self, segment: Segment) -> None:
209207
"""Append a segment to the collection.
210208
@@ -215,7 +213,6 @@ def add_segment(self, segment: Segment) -> None:
215213
"""
216214
if segment.tag not in (self.HEADER_TAG, self.FOOTER_TAG):
217215
self.segments.append(segment)
218-
# return self
219216

220217
def get_header_segment(self) -> Optional[Segment]:
221218
"""Craft and return a header segment.

0 commit comments

Comments
 (0)