From: Mike Bayer Date: Wed, 31 Jan 2018 14:27:03 +0000 (-0500) Subject: - don't scare off developers with the word "advanced" here X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5146c0b40273f47faa37da19a3d79c5c5e196195;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - don't scare off developers with the word "advanced" here Change-Id: I72a0295634e228bacf6c92088e650183f91e4585 (cherry picked from commit 399988aaed401ea6fc69aa580b9b71c236a30f16) --- diff --git a/doc/build/orm/session_basics.rst b/doc/build/orm/session_basics.rst index 18610d3f03..c71b234279 100644 --- a/doc/build/orm/session_basics.rst +++ b/doc/build/orm/session_basics.rst @@ -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 `_:: +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 +`_:: ### another way (but again *not the only way*) to do it ###