From: Nick Crews Date: Wed, 17 May 2023 23:50:58 +0000 (-0800) Subject: fixup: Add more explanation to versionadded:: X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2d49e9263dd0a892758a601335c1c617ef065d1;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fixup: Add more explanation to versionadded:: --- diff --git a/lib/sqlalchemy/sql/_elements_constructors.py b/lib/sqlalchemy/sql/_elements_constructors.py index 7457d7c83c..68db960a21 100644 --- a/lib/sqlalchemy/sql/_elements_constructors.py +++ b/lib/sqlalchemy/sql/_elements_constructors.py @@ -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_)