Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d169b57

Browse files
Update Doc/whatsnew/3.12.rst
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent bf02fd4 commit d169b57

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/whatsnew/3.12.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,10 +692,10 @@ Deprecated
692692
Python 3.14, when ``'data'`` filter will become the default.
693693
See :ref:`tarfile-extraction-filter` for details.
694694

695-
* The bitwise inversion operator (~) on bool is deprecated. It will throw an
695+
* The bitwise inversion operator (``~``) on bool is deprecated. It will throw an
696696
error in Python 3.14. Use ``not`` for logical negation of bools instead.
697697
In the rare case that you really need the bitwise inversion of the underlying
698-
``int``, convert to int explicitly ``~int(x)``. (Contributed by Tim Hoffmann
698+
``int``, convert to int explicitly with ``~int(x)``. (Contributed by Tim Hoffmann
699699
in :gh:`103487`.)
700700

701701
Pending Removal in Python 3.13

0 commit comments

Comments
 (0)