Method: pylint.extensions._check_docs_utils.GoogleDocstring._first_line
Calls: 999, Exceptions: 0, Paths: 1Back
Path 1: 999 calls (1.0)
'This is a docstring.' (132) 'docstring ...' (73) '' (54) 'This is a Sphinx docstring.' (54) 'This is a Google docstring.' (51) 'int: docstring ...' (...
1def _first_line(self) -> str:
2 return self.doc.lstrip().split("\n", 1)[0]