]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fixed invalid docstring example
authorGaëtan de Menten <gdementen@gmail.com>
Mon, 8 Dec 2008 10:41:36 +0000 (10:41 +0000)
committerGaëtan de Menten <gdementen@gmail.com>
Mon, 8 Dec 2008 10:41:36 +0000 (10:41 +0000)
lib/sqlalchemy/sql/expression.py

index 811ffd666587b7e9ebdc3fa87c5190883313e644..f47ba2e2e8ef2b6a1b5665be5b9b364d1de47f26 100644 (file)
@@ -1649,7 +1649,7 @@ class ColumnCollection(util.OrderedProperties):
             e.g.::
 
                 t = Table('sometable', Column('col1', Integer))
-                t.replace_unalised(Column('col1', Integer, key='columnone'))
+                t.columns.replace(Column('col1', Integer, key='columnone'))
 
             will remove the original 'col1' from the collection, and add
             the new column under the name 'columnname'.