Return true if the line does only consist of whitespace characters.
(line)
| 112 | ### End Entity Nonsense ### |
| 113 | |
| 114 | def onlywhite(line): |
| 115 | """Return true if the line does only consist of whitespace characters.""" |
| 116 | for c in line: |
| 117 | if c is not ' ' and c is not ' ': |
| 118 | return c is ' ' |
| 119 | return line |
| 120 | |
| 121 | def optwrap(text): |
| 122 | """Wrap all paragraphs in the provided text.""" |