]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
add highlight for python3 over api doc sections
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 16 Nov 2025 15:55:54 +0000 (10:55 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 16 Nov 2025 15:58:41 +0000 (10:58 -0500)
the pycon+sql highlight seems to take effect for docstrings
now in sphinx 8 or whatever.

Fixes: #12981
Change-Id: Ifab2c66d6adddf3ce5336f244653a336ac0d2ce9
(cherry picked from commit 5af013026fe995bb7abd95005913026ea13d020c)

doc/build/orm/queryguide/api.rst

index fe4d6b02a49f33cfca48d6136c6ef91c997a6f08..269fe0178e79570795ce79b2f61c8ca0037691e7 100644 (file)
@@ -513,6 +513,8 @@ in a manner roughly similar to that of :attr:`.Select.column_descriptions`::
    and :attr:`.UpdateBase.returning_column_descriptions` attributes.
 
 
+.. highlight:: python3
+
 .. _queryguide_additional:
 
 Additional ORM API Constructs