diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-12-25 17:34:24 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-12-25 17:34:24 -0500 |
commit | 68f6951019dce746a0d093ee597e89d68f4d8fc0 (patch) | |
tree | 24c6c415aacf75e2a24215626215f7853e0b9469 /lib/sqlalchemy/ext/declarative.py | |
parent | 6ed0d7e3339dd14daad612f9ac6dd2f5e90ef517 (diff) | |
download | sqlalchemy-68f6951019dce746a0d093ee597e89d68f4d8fc0.tar.gz |
fix a whole bunch of note:: / warning:: that were inline,
no longer compatible with docutils 0.8
Diffstat (limited to 'lib/sqlalchemy/ext/declarative.py')
-rwxr-xr-x | lib/sqlalchemy/ext/declarative.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/sqlalchemy/ext/declarative.py b/lib/sqlalchemy/ext/declarative.py index ffbdfaae9..91d770197 100755 --- a/lib/sqlalchemy/ext/declarative.py +++ b/lib/sqlalchemy/ext/declarative.py @@ -1424,9 +1424,11 @@ class declared_attr(property): """Mark a class-level method as representing the definition of a mapped property or special declarative member name. - .. note:: @declared_attr is available as - ``sqlalchemy.util.classproperty`` for SQLAlchemy versions - 0.6.2, 0.6.3, 0.6.4. + .. note:: + + @declared_attr is available as + ``sqlalchemy.util.classproperty`` for SQLAlchemy versions + 0.6.2, 0.6.3, 0.6.4. @declared_attr turns the attribute into a scalar-like property that can be invoked from the uninstantiated class. |