parameters: (self)
docstring: Close all encapsulated file objects
docstring_summary: Close all encapsulated file objects
docstring_tokens: Close all encapsulated file objects
function: def close(self):
          """Close all encapsulated file objects"""
          for f in reversed(self.fobjects):
              if "r" not in self.mode and not f.closed:
                  f.flush()
              f.close()
          self.fobjects = []
function_tokens: def close ( self ) : for f in reversed ( self . fobjects ) : if "r" not in self . mode and not f . closed : f . flush ( ) f . close ( ) self . fobjects = [ ]