INNER CODE UNIT · Python
remove_next_line
idealo/image-quality-assessment · mkdocs/autogen.py:44
def remove_next_line(comments):
for x in comments:
if comments[x] is not None and '\n' in comments[x]:
comments[x] = ' '.join(comments[x].split('\n'))
return comments
def skip_space_line(parts, ind):
while ind < len(parts):
if re.match(r'^\s*$', parts[ind]):
ind += 1
else:
break
return ind
# check if comment is None or len(comment) == 0 return {}
def parse_func_string(comment):