Fixed typo where plugins docs were referencing synonyn_for instead of synonym_for. Closes #1029

This commit is contained in:
Michael Trier
2008-07-03 04:38:28 +00:00
parent d3581d1c09
commit 5af78e2946
+2 -2
View File
@@ -135,7 +135,7 @@ The above synonym is then usable as an instance attribute as well as a class-lev
x.attr = "some value"
session.query(MyClass).filter(MyClass.attr == 'some other value').all()
The `synonyn_for` decorator can accomplish the same task:
The `synonym_for` decorator can accomplish the same task:
{python}
class MyClass(Base):
@@ -143,7 +143,7 @@ The `synonyn_for` decorator can accomplish the same task:
_attr = Column('attr', String)
@synonyn_for('_attr')
@synonym_for('_attr')
@property
def attr(self):
return self._some_attr