From: jazzthief Date: Thu, 2 Feb 2023 11:55:33 +0000 (+0100) Subject: Update docstring for standalone bitwise_not X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c408e2504f4be610ce0e72c58242806571bd995;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Update docstring for standalone bitwise_not --- diff --git a/lib/sqlalchemy/sql/_elements_constructors.py b/lib/sqlalchemy/sql/_elements_constructors.py index 976bd0bee3..3d997f119e 100644 --- a/lib/sqlalchemy/sql/_elements_constructors.py +++ b/lib/sqlalchemy/sql/_elements_constructors.py @@ -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)