]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
session docs: Change `object` to `someobject`
authorBen Alpert <spicyjalapeno@gmail.com>
Sat, 28 Dec 2013 06:11:23 +0000 (23:11 -0700)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 28 Dec 2013 06:56:34 +0000 (01:56 -0500)
This makes the code block more consistent with the preceding one and also prevents the variable from being colored as a builtin (which `object` is) during syntax highlighting.

doc/build/orm/session.rst

index 527235d369233ff5a4efbdde06b9fef5bf717828..4c63fa9931d933360362c0bb427304fbdd0def41 100644 (file)
@@ -462,7 +462,7 @@ available on :class:`~sqlalchemy.orm.session.Session`::
 The newer :ref:`core_inspection_toplevel` system can also be used::
 
     from sqlalchemy import inspect
-    session = inspect(object).session
+    session = inspect(someobject).session
 
 .. _session_faq_threadsafe: