Carl Banks wrote: > I could, however, see myself > using the slightly more complicated descriptor such as this (for a > wholly different reason, though): > > . def call_with_open_file(filename): > . def descriptor(func): > . flo = open(filename) > . try: f(flo) > . finally: f.close() > . return None > . return descriptor
Apparently, I don't know the difference between a descriptor and a decorator. -- CARL BANKS -- http://mail.python.org/mailman/listinfo/python-list