pylint/checkers/spelling.py
def _check_docstring(self, node):
        """check the node has any spelling errors"""
        docstring = node.doc
        if not docstring:
            return

        start_line = node.lineno + 1

        # Go through lines of docstring
        for idx, line in enumerate(docstring.splitlines()):
            self._check_spelling("wrong-spelling-in-docstring", line, start_line + idx)
def _check_docstring(self, node):
        docstring = node.doc
        if not docstring:
            return

        start_line = node.lineno + 1

        # Go through lines of docstring
        for idx, line in enumerate(docstring.splitlines()):
            self._check_spelling("wrong-spelling-in-docstring", line, start_line + idx)
def _check_docstring ( self , node ) : docstring = node . doc if not docstring : return start_line = node . lineno + 1 # Go through lines of docstring for idx , line in enumerate ( docstring . splitlines ( ) ) : self . _check_spelling ( "wrong-spelling-in-docstring" , line , start_line + idx )
check the node has any spelling errors
check the node has any spelling errors