]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix typo in python example
authorAnton Vlasenko <antares.spica@gmail.com>
Wed, 14 Feb 2018 10:31:36 +0000 (11:31 +0100)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 27 Feb 2018 19:46:51 +0000 (14:46 -0500)
(cherry picked from commit 31d28179c29e987a6ed844f6b8abf5dc1574e594)

doc/build/orm/session_state_management.rst

index 9bb40cff713c20dee27c29de6ac0f9926a9ba1f3..57af67da5936125c6eb2c5d3d0b4461478a8523d 100644 (file)
@@ -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