]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fixup: docstring tweak
authorNick Crews <nicholas.b.crews@gmail.com>
Wed, 10 May 2023 17:01:59 +0000 (09:01 -0800)
committerNick Crews <nicholas.b.crews@gmail.com>
Wed, 10 May 2023 17:01:59 +0000 (09:01 -0800)
lib/sqlalchemy/sql/_elements_constructors.py

index e85d46818f9e1540066c60daeec67821e1ff39f2..cdbe7be7d6dcfa11b03616a538b7743fed95a911 100644 (file)
@@ -919,7 +919,7 @@ def try_cast(*arg, **kw):
     construct, and works in the same way, except in regards to error
     handling. If the function encounters an un-castable value
     (for instance when trying to convert the string "hi" to an INT)
-    then normal :class:`.Cast` raises an error. :class:`.TryCast`
+    then normal :class:`.Cast` raises an error, :class:`.TryCast`
     instead returns a NULL value.
 
     E.g.::