parameters: (self, filename)
docstring: Open a new file named 'filename'.  This overrides both the
             'filename' and 'file' arguments to the constructor.
docstring_summary: Open a new file named 'filename'.  This overrides both the
             'filename' and 'file' arguments to the constructor.
docstring_tokens: Open a new file named filename . This overrides both the filename and file arguments to the constructor .
function: def open(self, filename):
          """Open a new file named 'filename'.  This overrides both the
             'filename' and 'file' arguments to the constructor."""
          self.filename = filename
          self.file = io.open(self.filename, 'r', errors=self.errors)
          self.current_line = 0
function_tokens: def open ( self , filename ) : self . filename = filename self . file = io . open ( self . filename , 'r' , errors = self . errors ) self . current_line = 0