(docstring)
| 474 | |
| 475 | @staticmethod |
| 476 | def sanitize_docstring(docstring): # type: (str) ->str |
| 477 | docstring = StubsGenerator.remove_signatures(docstring) |
| 478 | docstring = docstring.rstrip("\n") |
| 479 | |
| 480 | if docstring and re.match(r"^\s*$", docstring): |
| 481 | docstring = "" |
| 482 | |
| 483 | return docstring |
| 484 | |
| 485 | @staticmethod |
| 486 | def format_docstring(docstring): |
no test coverage detected