File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -379,28 +379,28 @@ modules.
379379
380380 .. _bitstring-ops :
381381
382- Bit-string Operations on Integer Types
382+ Bitwise Operations on Integer Types
383383--------------------------------------
384384
385385.. index ::
386386 triple: operations on; integer; types
387- pair: bit-string ; operations
387+ pair: bitwise ; operations
388388 pair: shifting; operations
389389 pair: masking; operations
390390 operator: ^
391391 operator: &
392392 operator: <<
393393 operator: >>
394394
395- Integers support additional operations that make sense only for bit-strings.
396- Negative numbers are treated as their 2's complement value (this assumes a
397- sufficiently large number of bits that no overflow occurs during the operation).
395+ Bitwise operations only make sense only for integers. Negative numbers are
396+ treated as their 2's complement value (this assumes a sufficiently large number
397+ of bits that no overflow occurs during the operation).
398398
399399The priorities of the binary bitwise operations are all lower than the numeric
400400operations and higher than the comparisons; the unary operation ``~ `` has the
401401same priority as the other unary numeric operations (``+ `` and ``- ``).
402402
403- This table lists the bit-string operations sorted in ascending priority
403+ This table lists the bitwise operations sorted in ascending priority
404404(operations in the same box have the same priority):
405405
406406+------------+--------------------------------+----------+
You can’t perform that action at this time.
0 commit comments