]> 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)
committerBen Alpert <spicyjalapeno@gmail.com>
Sat, 28 Dec 2013 06:11:23 +0000 (23:11 -0700)
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 b3a6e43846f0985d1e9b963f403c81eab0670664..c4d9b08742b3754c67e28ec22d307190d0f5b673 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: