1170
1170
def from_string(cls, text):
1171
1171
format_string = cls.get_format_string()
1172
1172
if not text.startswith(format_string):
1174
1174
lines = text[len(format_string):].splitlines()
1176
1176
for lineno, line in enumerate(lines):
1178
1182
ret.features[feature] = necessity