code: def error_lineno(self):
          
          if isinstance(self.docstring, Docstring):
              return self.docstring.start
          return self.start
docs: Get the line number with which to report violations.