diff options
| author | Brian Jarrett <celttechie@gmail.com> | 2014-07-10 16:28:49 -0600 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-07-13 20:10:55 -0400 |
| commit | 28dd15081db4b7e978fa7a187c3aef1c0e4ad4e3 (patch) | |
| tree | af5aeebb0cece4afc8e12e3329d3f75715bf32a2 /lib/sqlalchemy/ext/hybrid.py | |
| parent | 0190ede10767ed455255067cac2d309f070cf70c (diff) | |
| download | sqlalchemy-28dd15081db4b7e978fa7a187c3aef1c0e4ad4e3.tar.gz | |
PEP8 style fixes
Diffstat (limited to 'lib/sqlalchemy/ext/hybrid.py')
| -rw-r--r-- | lib/sqlalchemy/ext/hybrid.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/sqlalchemy/ext/hybrid.py b/lib/sqlalchemy/ext/hybrid.py index 7f5a91355..9f4e09e92 100644 --- a/lib/sqlalchemy/ext/hybrid.py +++ b/lib/sqlalchemy/ext/hybrid.py @@ -474,8 +474,8 @@ of measurement, currencies and encrypted passwords. .. seealso:: `Hybrids and Value Agnostic Types - <http://techspot.zzzeek.org/2011/10/21/hybrids-and-value-agnostic-types/>`_ - - on the techspot.zzzeek.org blog + <http://techspot.zzzeek.org/2011/10/21/hybrids-and-value-agnostic-types/>`_ + - on the techspot.zzzeek.org blog `Value Agnostic Types, Part II <http://techspot.zzzeek.org/2011/10/29/value-agnostic-types-part-ii/>`_ - @@ -659,6 +659,7 @@ HYBRID_PROPERTY = util.symbol('HYBRID_PROPERTY') """ + class hybrid_method(interfaces._InspectionAttr): """A decorator which allows definition of a Python object method with both instance-level and class-level behavior. @@ -780,7 +781,7 @@ class hybrid_property(interfaces._InspectionAttr): """ proxy_attr = attributes.\ - create_proxied_attribute(self) + create_proxied_attribute(self) def expr(owner): return proxy_attr(owner, self.__name__, self, comparator(owner)) |
