]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fixed typo where plugins docs were referencing synonyn_for instead of synonym_for...
authorMichael Trier <mtrier@gmail.com>
Thu, 3 Jul 2008 04:38:28 +0000 (04:38 +0000)
committerMichael Trier <mtrier@gmail.com>
Thu, 3 Jul 2008 04:38:28 +0000 (04:38 +0000)
doc/build/content/plugins.txt

index 9dc33d3e22240fe264df0c437f7b6131f41d262c..6e941cb9d43d622d68a25f752bd112f0d695f2e6 100644 (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