From: Anton Vlasenko Date: Wed, 14 Feb 2018 10:31:36 +0000 (+0100) Subject: Fix typo in python example X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a18d2998321dc25b937382db7eeb604e0e6416e4;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 9bb40cff71..57af67da59 100644 --- a/doc/build/orm/session_state_management.rst +++ b/doc/build/orm/session_state_management.rst @@ -309,7 +309,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