From 15520d5d81b9c45f6735df82ce0d593e93ad2bdf Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 12 Feb 2011 22:29:36 -0500 Subject: [PATCH] fix this directive for py3k --- lib/sqlalchemy/util/langhelpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py index 7a7713d1e2..1ed9c6c7bb 100644 --- a/lib/sqlalchemy/util/langhelpers.py +++ b/lib/sqlalchemy/util/langhelpers.py @@ -327,7 +327,7 @@ def monkeypatch_proxied_specials(into_cls, from_cls, skip=None, only=None, def methods_equivalent(meth1, meth2): """Return True if the two methods are the same implementation.""" - # Py3k + # Py3K #return getattr(meth1, '__func__', meth1) is getattr(meth2, '__func__', meth2) # Py2K return getattr(meth1, 'im_func', meth1) is getattr(meth2, 'im_func', meth2) -- 2.47.3