Skip to content

Commit 1f2aba5

Browse files
committed
add comment about removed bitwise builtlins to docs
1 parent 2168407 commit 1f2aba5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/built-in-functions.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Vyper provides a collection of built-in functions available in the global namesp
1010
Bitwise Operations
1111
==================
1212

13+
1314
.. py:function:: shift(x: int256 | uint256, _shift: integer) -> uint256
1415
1516
Return ``x`` with the bits shifted ``_shift`` places. A positive ``_shift`` value equals a left shift, a negative value is a right shift.
@@ -30,6 +31,10 @@ Bitwise Operations
3031

3132
This function has been deprecated from version 0.3.8 onwards. Please use the ``<<`` and ``>>`` operators instead.
3233

34+
.. note::
35+
36+
The functions ``bitwise_and``, ``bitwise_or``, ``bitwise_xor`` and ``bitwise_not`` have been deprecated from version 0.3.4., and removed in version 0.4.2. Please use their operator versions instead: ``&``, ``|``, ``^``, ``~``.
37+
3338

3439
Chain Interaction
3540
=================

0 commit comments

Comments
 (0)