class_docstr: The GzipFile class simulates most of the methods of a file object with
  the exception of the truncate() method.
  
  This class only supports opening files in binary mode. If you need to open a
  compressed file in text mode, use the gzip.open() function.
code: def close(self):
      fileobj = self.fileobj
      if fileobj is None:
          return
      self.fileobj = None
      try:
          if self.mode == WRITE:
              fileobj.write(self.compress.flush())
              write32u(fileobj, self.crc)
              # self.size may exceed 2 GiB, or even 4 GiB
              write32u(fileobj, self.size & 0xFFFFFFFF)
          elif self.mode == READ:
              self._buffer.close()
      finally:
          myfileobj = self.myfileobj
          if myfileobj:
              self.myfileobj = None
              myfileobj.close()
  
imports: import struct, sys, time, os
  import zlib
  import builtins
  import io
  import _compression
label_desc: Use image node_id 12 for calling the GzipFile obj's underlying member method code with example usage: obj.close() without return types