From: Mike Bayer Date: Sun, 13 Feb 2011 03:29:36 +0000 (-0500) Subject: fix this directive for py3k X-Git-Tag: rel_0_7b2~1^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15520d5d81b9c45f6735df82ce0d593e93ad2bdf;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix this directive for py3k --- 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)