(self, args)
CLOSE: close a file, or all files.
CLOSE: close a file, or all files.
CLOSE : close a file or all files .
def close_(self, args):
        """CLOSE: close a file, or all files."""
        at_least_one = False
        for number in args:
            number = values.to_int(number)
            error.range_check(0, 255, number)
            at_least_one = True
            # close() deals with non-open numbers
            self.close(number)
        # if no file number given, close everything
        if not at_least_one:
            self.close_all()
def close_ ( self , args ) : at_least_one = False for number in args : number = values . to_int ( number ) error . range_check ( 0 , 255 , number ) at_least_one = True # close() deals with non-open numbers self . close ( number ) # if no file number given, close everything if not at_least_one : self . close_all ( )