parameters: (self)
docstring: Close the file.
  
          A closed file cannot be used for further I/O operations.  close() may be
          called more than once without error.
docstring_summary: Close the file.
docstring_tokens: Close the file .
function: def close(self):
          """Close the file.
  
          A closed file cannot be used for further I/O operations.  close() may be
          called more than once without error.
          """
          if not self.closed:
              try:
                  if self._closefd:
                      os.close(self._fd)
              finally:
                  super().close()
function_tokens: def close ( self ) : if not self . closed : try : if self . _closefd : os . close ( self . _fd ) finally : super ( ) . close ( )