]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix documentation formatting
authorFederico Caselli <cfederico87@gmail.com>
Mon, 13 Feb 2023 19:16:45 +0000 (20:16 +0100)
committerFederico Caselli <cfederico87@gmail.com>
Mon, 13 Feb 2023 19:16:45 +0000 (20:16 +0100)
Change-Id: I3307e1844237b58486dcce334eab80689e116bb8

doc/build/changelog/whatsnew_20.rst

index dc58a6710ec17d686ab1fe77ce32ba3a190b2842..4ae88956e6e994d754087ea4415034e0f435124c 100644 (file)
@@ -1940,7 +1940,9 @@ dictionary to apply custom parameters, as in the example below::
         col4 = Column(Integer)
         __tablename__ = "model"
 
-The above model places "id" before all others and "col1" after "id"::
+The above model places "id" before all others and "col1" after "id":
+
+.. sourcecode:: sql
 
     CREATE TABLE model (
       id INTEGER NOT NULL,