mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Fix warnings in docs, we're not using terms or keywords
This commit is contained in:
parent
c5a801b836
commit
1762bff3af
|
@ -24,7 +24,7 @@ To get the number and names of bands in an image, use the
|
|||
Modes
|
||||
-----
|
||||
|
||||
The :term:`mode` of an image defines the type and depth of a pixel in the
|
||||
The ``mode`` of an image defines the type and depth of a pixel in the
|
||||
image. The current release supports the following standard modes:
|
||||
|
||||
* ``1`` (1-bit pixels, black and white, stored with one pixel per byte)
|
||||
|
|
|
@ -81,13 +81,13 @@ Bitwise operators don’t work on floating point images.
|
|||
Logical Operators
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
Logical operators like :keyword:`and`, :keyword:`or`, and :keyword:`not` work
|
||||
Logical operators like ``and``, ``or``, and ``not`` work
|
||||
on entire images, rather than individual pixels.
|
||||
|
||||
An empty image (all pixels zero) is treated as false. All other images are
|
||||
treated as true.
|
||||
|
||||
Note that :keyword:`and` and :keyword:`or` return the last evaluated operand,
|
||||
Note that ``and`` and ``or`` return the last evaluated operand,
|
||||
while not always returns a boolean value.
|
||||
|
||||
Built-in Functions
|
||||
|
|
Loading…
Reference in New Issue
Block a user