From: Anton Vlasenko Date: Wed, 14 Feb 2018 10:31:36 +0000 (+0100) Subject: Fix typo in python example X-Git-Tag: rel_1_1_18~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d975ec9ff87f6052495026b89501c2f55672e99;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fix typo in python example (cherry picked from commit 31d28179c29e987a6ed844f6b8abf5dc1574e594) --- diff --git a/doc/build/orm/session_state_management.rst b/doc/build/orm/session_state_management.rst index 40fda4c759..7387ee637d 100644 --- a/doc/build/orm/session_state_management.rst +++ b/doc/build/orm/session_state_management.rst @@ -350,7 +350,7 @@ Another example of unexpected state:: >>> a1 = Address(id=existing_a1.id, user_id=u1.id) >>> assert a1.user is None - >>> True + True >>> a1 = session.merge(a1) >>> session.commit() sqlalchemy.exc.IntegrityError: (IntegrityError) address.user_id