]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Update docstring for standalone bitwise_not
authorjazzthief <mynameisyegor@gmail.com>
Thu, 2 Feb 2023 11:55:33 +0000 (12:55 +0100)
committerjazzthief <mynameisyegor@gmail.com>
Thu, 2 Feb 2023 11:55:33 +0000 (12:55 +0100)
lib/sqlalchemy/sql/_elements_constructors.py

index 976bd0bee30698416bd8dff23157d84e2e22eed5..3d997f119e35357f12bbb7c89a0f1b12984a7574 100644 (file)
@@ -1019,7 +1019,11 @@ def distinct(expr: _ColumnExpressionArgument[_T]) -> UnaryExpression[_T]:
 
 
 def bitwise_not(expr: _ColumnExpressionArgument[_T]) -> UnaryExpression[_T]:
-    """Produce a column-expression-level unary ``~`` clause."""
+    """Produce a column-expression-level unary bitwise NOT (``~``) clause.
+
+    Not to be confused with boolean negation :func:`_sql.not_`.
+
+    """
 
     return UnaryExpression._create_bitwise_not(expr)