summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/declarative.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/ext/declarative.py')
-rw-r--r--lib/sqlalchemy/ext/declarative.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/declarative.py b/lib/sqlalchemy/ext/declarative.py
index 7f30a7374..77c6a7684 100644
--- a/lib/sqlalchemy/ext/declarative.py
+++ b/lib/sqlalchemy/ext/declarative.py
@@ -246,7 +246,7 @@ def synonym_for(name, map_column=False):
A decorator version of [sqlalchemy.orm#synonym()]. The function being
decoratred is the 'instrument', otherwise passes its arguments through
- to synonym().
+ to synonym()::
@synonym_for('col')
@property
@@ -268,7 +268,7 @@ def comparable_using(comparator_factory):
"""Decorator, allow a Python @property to be used in query criteria.
A decorator front end to [sqlalchemy.orm#comparable_property()], passes
- throgh the comparator_factory and the function being decorated.
+ throgh the comparator_factory and the function being decorated::
@comparable_using(MyComparatorType)
@property