]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- don't scare off developers with the word "advanced" here
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 31 Jan 2018 14:27:03 +0000 (09:27 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 31 Jan 2018 14:27:59 +0000 (09:27 -0500)
Change-Id: I72a0295634e228bacf6c92088e650183f91e4585
(cherry picked from commit 399988aaed401ea6fc69aa580b9b71c236a30f16)

doc/build/orm/session_basics.rst

index de0dd1e3a8fec35ccb2c4f5566d4d451cbd6c5ff..391c6131dcf1f4f86b7eca56e704ac51d87f6400 100644 (file)
@@ -362,9 +362,12 @@ Keep the lifecycle of the session (and usually the transaction)
         finally:
             session.close()
 
-The advanced developer will try to keep the details of session, transaction
-and exception management as far as possible from the details of the program
-doing its work.   For example, we can further separate concerns using a `context manager <http://docs.python.org/3/library/contextlib.html#contextlib.contextmanager>`_::
+The most comprehensive approach, recommended for more substantial applications,
+will try to keep the details of session, transaction and exception management
+as far as possible from the details of the program doing its work.   For
+example, we can further separate concerns using a `context manager
+<http://docs.python.org/3/library/co
+ntextlib.html#contextlib.contextmanager>`_::
 
     ### another way (but again *not the only way*) to do it ###