]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
docstring fix for [ticket:381]
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Dec 2006 04:11:16 +0000 (04:11 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Dec 2006 04:11:16 +0000 (04:11 +0000)
lib/sqlalchemy/schema.py

index 93f4574bc1c43e76e4d2ff6797fb1f5b70381a0f..beb320e5acc9c4aeda84247ff223a10b91e1f88b 100644 (file)
@@ -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.