]> 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:27 +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

doc/build/orm/queryguide/api.rst

index 4cbe3e62d8a4e53f8e834cae36d7e0200c1ab98b..25b4f861c2f63dc19cc23bb18c2ed544351165ef 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