# How to detect lines with only a white space in a text?
for line in someopenfile:
  if line.isspace():
    empty_line()

58e2315825d313cb3cef664c8d328aec39b79a4f
<mask token>

for line in someopenfile:
    if line.isspace():
        empty_line()

# How to detect lines with only a white space in a text?
for line in someopenfile:
  if line.isspace():
    empty_line()
