dont create a new name for Functors to save memory

This commit is contained in:
Joe Shochet 2007-05-13 17:42:40 +00:00
parent 083ae71bac
commit 09e7a09fb2
1 changed files with 1 additions and 1 deletions

View File

@ -878,7 +878,7 @@ class Functor:
self._function = function
self._args = args
self._kargs = kargs
self.__name__ = 'Functor: %s' % self._function.__name__
self.__name__ = self._function.__name__
self.__doc__ = self._function.__doc__
def destroy(self):