diff options
author | Edward Betts <edward@4angle.com> | 2021-04-04 08:40:07 +0100 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-05 14:15:30 -0400 |
commit | 976604ccd66ecd0bd59a5b1fd35fdfc3bf08560b (patch) | |
tree | 324638755bb4d44a4f04f30c9cfd43c40f278431 | |
parent | a241f8c7539720ebcfe0ae240b593036e5ff9b65 (diff) | |
download | sqlalchemy-976604ccd66ecd0bd59a5b1fd35fdfc3bf08560b.tar.gz |
Bug fix for code example
Correct a mistake in a code example.
(cherry picked from commit 18fef6af669762a11c7f4da5de1dd42b3bbc2a55)
-rw-r--r-- | doc/build/orm/cascades.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/orm/cascades.rst b/doc/build/orm/cascades.rst index 561ee732f..b8baf8953 100644 --- a/doc/build/orm/cascades.rst +++ b/doc/build/orm/cascades.rst @@ -89,7 +89,7 @@ object, ``address3`` to the ``user1.addresses`` collection, it becomes part of the state of that :class:`.Session`:: >>> address3 = Address() - >>> user1.append(address3) + >>> user1.addresses.append(address3) >>> address3 in sess >>> True |