summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/util/langhelpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/util/langhelpers.py')
-rw-r--r--lib/sqlalchemy/util/langhelpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py
index 8036ea3e2..89ca4c1eb 100644
--- a/lib/sqlalchemy/util/langhelpers.py
+++ b/lib/sqlalchemy/util/langhelpers.py
@@ -1453,7 +1453,7 @@ class hybridmethod(object):
"""Decorate a function as cls- or instance- level."""
def __init__(self, func):
- self.func = func
+ self.func = self.__func__ = func
self.clslevel = func
def __get__(self, instance, owner):