Commits

jason kirtland committed 9b9ab50

Don't snarf Query docstrings [ticket:1026]

  • Participants
  • Parent commits b42d91d
  • Branches rel_0_4

Comments (0)

Files changed (1)

lib/sqlalchemy/util.py

             return func(self, *to_list(args[0], []), **kwargs)
         else:
             return func(self, *args, **kwargs)
-    return starargs_as_list
+    starargs_as_list.__doc__ = func.__doc__
+    return function_named(starargs_as_list, func.__name__)
     
 def to_set(x):
     if x is None: