summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Trier <mtrier@gmail.com>2008-08-28 14:21:07 +0000
committerMichael Trier <mtrier@gmail.com>2008-08-28 14:21:07 +0000
commitc99d54e762790578a6c806f6f96da218af2a0f37 (patch)
tree3e7c79855fcd23bc742b2d5eb8a12203d69181a9
parent0b4b2454af987666827f12339fbe78009cc14ee8 (diff)
downloadsqlalchemy-c99d54e762790578a6c806f6f96da218af2a0f37.tar.gz
Corrected typo in the mapper docs. Fixes #1159.
-rw-r--r--doc/build/content/metadata.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/content/metadata.txt b/doc/build/content/metadata.txt
index 26eab2594..27079bf28 100644
--- a/doc/build/content/metadata.txt
+++ b/doc/build/content/metadata.txt
@@ -328,7 +328,7 @@ Similarly, the "onupdate" keyword does the same thing for update statements:
Column('id', Integer, primary_key=True),
# define 'last_updated' to be populated with datetime.now()
- Column('last_updated', DateTime, onupdate=datetime.now),
+ Column('last_updated', DateTime, onupdate=datetime.datetime.now),
)
#### Pre-executed and Inline SQL Expressions {@name=sqlexpression}