appobject.py
changeset 4458 6151849f41e0
parent 4252 6c4f109c2b03
child 4459 f628abfb3a6c
--- a/appobject.py	Thu Feb 04 10:17:15 2010 +0100
+++ b/appobject.py	Thu Feb 04 13:17:26 2010 +0100
@@ -32,7 +32,8 @@
 
     """
     return type(selector_func.__name__, (Selector,),
-                {'__call__': lambda self, *args, **kwargs: selector_func(*args, **kwargs)})
+                {'__doc__': selector_func.__doc__,
+                 '__call__': lambda self, *a, **kw: selector_func(*a, **kw)})
 
 
 def _instantiate_selector(selector):