class_docstr: Raised when HTTP error occurs, but also acts like non-error return
class_docstr_tok: ["Raised","when","HTTP","error","occurs",",","but","also","acts","like","non-error","return"]
code: def __init__(self, url, code, msg, hdrs, fp):
      self.code = code
      self.msg = msg
      self.hdrs = hdrs
      self.fp = fp
      self.filename = url
      if fp is None:
          fp = io.BytesIO()
      self.__super_init(fp, hdrs, url, code)
  
file_path: cpython/Lib/urllib/error.py
imports: import io
  import urllib.response
label_desc: Use image node_id 1 to create a new HTTPError object from inherited base classes: URLError, urllib.response with example: obj = HTTPError(url, code, msg, hdrs, fp)