]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fixup: Add more explanation to versionadded::
authorNick Crews <nicholas.b.crews@gmail.com>
Wed, 17 May 2023 23:50:58 +0000 (15:50 -0800)
committerNick Crews <nicholas.b.crews@gmail.com>
Wed, 17 May 2023 23:50:58 +0000 (15:50 -0800)
lib/sqlalchemy/sql/_elements_constructors.py

index 7457d7c83caee725daa397b278b99804af84010b..68db960a212b8bdb1774974e84f90fe4d2b3a301 100644 (file)
@@ -938,8 +938,9 @@ def try_cast(
         SELECT TRY_CAST (product_table.unit_price AS NUMERIC(10, 4))
         FROM product_table
 
-    .. versionadded:: 2.0.14
-
+    .. versionadded:: 2.0.14  The :func:.try_cast construct has been
+       generalized from the SQL Server dialect into a general use
+       construct that may be supported by additional dialects.
     """
     return TryCast(expression, type_)