From: Mike Bayer Date: Sat, 9 Dec 2006 04:11:16 +0000 (+0000) Subject: docstring fix for [ticket:381] X-Git-Tag: rel_0_3_2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a685f5d078b7f6b47417c6f497ba2d87f7ff524a;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git docstring fix for [ticket:381] --- diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py index 93f4574bc1..beb320e5ac 100644 --- a/lib/sqlalchemy/schema.py +++ b/lib/sqlalchemy/schema.py @@ -315,6 +315,11 @@ class Column(SchemaItem, sql._ColumnClause): type: the TypeEngine for this column. This can be any subclass of types.AbstractType, including the database-agnostic types defined in the types module, database-specific types defined within specific database modules, or user-defined types. + + type: the TypeEngine for this column. This can be any subclass of types.AbstractType, including + the database-agnostic types defined in the types module, database-specific types defined within + specific database modules, or user-defined types. If the column contains a ForeignKey, + the type can also be None, in which case the type assigned will be that of the referenced column. *args: Constraint, ForeignKey, ColumnDefault and Sequence objects should be added as list values.