From: Gaƫtan de Menten Date: Mon, 8 Dec 2008 10:41:36 +0000 (+0000) Subject: fixed invalid docstring example X-Git-Tag: rel_0_5_0~128 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c7b506f0e6661b89a36748f44ac3756f3a2eff4;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fixed invalid docstring example --- diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py index 811ffd6665..f47ba2e2e8 100644 --- a/lib/sqlalchemy/sql/expression.py +++ b/lib/sqlalchemy/sql/expression.py @@ -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'.