114
113
new_value = PyUnicode_DecodeUTF8(c_line+1, c_len-1, "strict")
115
114
else: # new tag:value line
119
118
(tag, new_value) = _split_first_line(c_line, c_len)
121
120
raise ValueError("invalid rio tag %r" % (tag,))
122
121
accum_value.append(new_value)
123
122
if tag is not None: # add last tag-value
125
124
return Stanza.from_pairs(pairs)
126
125
else: # didn't see any content