stimpyp.protocol_parser.remove_comments_and_strip#
- stimpyp.protocol_parser.remove_comments_and_strip(lines)#
Extracts assignments for all lines given, removes the eventual comment and strip leading/trailing spacings, discards lines without assignment
- Parameters:
lines (list[str])
- Return type:
list[str]