code: def maybe_check_physical(self, token):
          
          # Called after every token, but act only on end of line.
          if _is_eol_token(token):
              # Obviously, a newline token ends a single physical line.
              self.check_physical(token[4])
          elif token[0] == tokenize.STRING and '\n' in token[1]:
              # Less obviously, a string that contains newlines is a
              # multiline string, either triple-quoted or with internal
              # newlines backslash-escaped. Check every physical line in the
              # string *except* for the last one: its newline is outside of
              # the multiline string, so we consider it a regular physical
              # line, and will check it like any other physical line.
              #
              # Subtleties:
              # - we don't *completely* ignore the last line; if it contains
              #   the magical "# noqa" comment, we disable all physical
              #   checks for the entire multiline string
              # - have to wind self.line_number back because initially it
              #   points to the last line of the string, and we want
              #   check_physical() to give accurate feedback
              if noqa(token[4]):
                  return
              self.multiline = True
              self.line_number = token[2][0]
              for line in token[1].split('\n')[:-1]:
                  self.check_physical(line + '\n')
                  self.line_number += 1
              self.multiline = False
docs: If appropriate (based on token), check current physical line(s).