diff --git a/README.md b/README.md index c2f5a38..ecd876a 100644 --- a/README.md +++ b/README.md @@ -531,7 +531,7 @@ from random import random, randint, choice, shuffle, gauss, seed = & # And = | # Or = ^ # Xor (0 if both bits equal) - = << n_bits # Shift left (>> for right) + = << n_bits # Left shift (>> for right) = ~ # Not (also: - - 1) ``` diff --git a/index.html b/index.html index dc85944..d7e629b 100644 --- a/index.html +++ b/index.html @@ -631,7 +631,7 @@ to_exclusive = <range>.stop

Bitwise Operators

<int> = <int> & <int>                    # And
 <int> = <int> | <int>                    # Or
 <int> = <int> ^ <int>                    # Xor (0 if both bits equal)
-<int> = <int> << n_bits                  # Shift left (>> for right)
+<int> = <int> << n_bits                  # Left shift (>> for right)
 <int> = ~<int>                           # Not (also: -<int> - 1)