From: Mike Bayer Date: Tue, 28 Mar 2006 03:07:50 +0000 (+0000) Subject: fixed default example X-Git-Tag: rel_0_1_6~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc9889280221e2678c5d405e45bec14a6eef5acb;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fixed default example --- diff --git a/doc/build/content/metadata.myt b/doc/build/content/metadata.myt index 16bb06676d..fe207c0783 100644 --- a/doc/build/content/metadata.myt +++ b/doc/build/content/metadata.myt @@ -139,6 +139,7 @@ DROP TABLE employees # a function to create primary key ids i = 0 def mydefault(): + global i i += 1 return i