code: def write_warning (self, url_data):
          
          self.write(self.part("warning") + self.spaces("warning"))
          warning_msgs = [u"[%s] %s" % x for x in url_data.warnings]
          self.writeln(self.wrap(warning_msgs, 65), color=self.colorwarning)
docs: Write url_data.warning.