Skip to content

Commit 2d29f6b

Browse files
radarherehim2him2
andauthored
Fixed typo (#9636)
Co-authored-by: him2him2 <him2him2@users.noreply.github.com>
1 parent 2d4bc04 commit 2d29f6b

14 files changed

Lines changed: 22 additions & 22 deletions

docs/deprecations.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Image.Image.get_child_images()
2525

2626
.. deprecated:: 11.2.1
2727

28-
``Image.Image.get_child_images()`` has been deprecated. and will be removed in Pillow
28+
``Image.Image.get_child_images()`` has been deprecated, and will be removed in Pillow
2929
13 (2026-10-15). It will be moved to ``ImageFile.ImageFile.get_child_images()``. The
3030
method uses an image's file pointer, and so child images could only be retrieved from
3131
an :py:class:`PIL.ImageFile.ImageFile` instance.
@@ -157,7 +157,7 @@ ImageMath eval()
157157
``ImageMath.eval()`` has been removed. Use :py:meth:`~PIL.ImageMath.lambda_eval` or
158158
:py:meth:`~PIL.ImageMath.unsafe_eval` instead.
159159

160-
BGR;15, BGR 16 and BGR;24
160+
BGR;15, BGR;16 and BGR;24
161161
^^^^^^^^^^^^^^^^^^^^^^^^^
162162

163163
.. deprecated:: 10.4.0
@@ -681,7 +681,7 @@ PyQt4 and PySide
681681
Qt 4 reached end-of-life on 2015-12-19. Its Python bindings are also EOL: PyQt4 since
682682
2018-08-31 and PySide since 2015-10-14.
683683

684-
Support for PyQt4 and PySide has been removed from ``ImageQt``. Please upgrade to PyQt5
684+
Support for PyQt4 and PySide has been removed from ``ImageQt``. Please upgrade to PyQt5
685685
or PySide2.
686686

687687
Setting the size of TIFF images

docs/handbook/image-file-formats.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ Saving
449449
The :py:meth:`~PIL.Image.Image.save` method supports the following options:
450450

451451
**sizes**
452-
A list of sizes including in this ico file; these are a 2-tuple,
452+
A list of sizes included in this ico file; these are a 2-tuple,
453453
``(width, height)``; Default to ``[(16, 16), (24, 24), (32, 32), (48, 48),
454454
(64, 64), (128, 128), (256, 256)]``. Any sizes bigger than the original
455455
size or 256 will be ignored.

docs/handbook/writing-your-own-image-plugin.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ state structure, and a buffer of data to be transformed.
393393
It is the codec's responsibility to pull as much data as possible out of the
394394
buffer and return the number of bytes consumed. The next call to the codec will
395395
include the previous unconsumed tail. The codec function will be called
396-
multiple times as the data processed.
396+
multiple times as the data is processed.
397397

398398
Alternatively, if ``pulls_fd`` or ``pushes_fd`` is set, then the decode or
399399
encode function is called once, with an empty buffer. It is the codec's
@@ -446,7 +446,7 @@ Python-based file codec:
446446
is complete. This can be used to clean up any resources used by the codec.
447447

448448
If you set ``_pulls_fd`` or ``_pushes_fd`` to ``True`` however, then you
449-
probably chose to perform any cleanup tasks at the end of ``decode`` or
449+
probably chose to perform any cleanup tasks at the end of ``decode`` or
450450
``encode``.
451451

452452
For an example :py:class:`PIL.ImageFile.PyDecoder`, see `DdsImagePlugin

docs/reference/ExifTags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ EXIF tags.
3838
>>> IFD.Exif.value
3939
34665
4040
>>> IFD(34665).name
41-
'Exif
41+
'Exif'
4242

4343
.. py:data:: LightSource
4444

docs/reference/ImageChops.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ At this time, most channel operations are only implemented for 8-bit images
1717
Functions
1818
---------
1919

20-
Most channel operations take one or two image arguments and returns a new
20+
Most channel operations take one or two image arguments and return a new
2121
image. Unless otherwise noted, the result of a channel operation is always
2222
clipped to the range 0 to MAX (which is 255 for all modes supported by the
2323
operations in this module).

docs/reference/ImageDraw.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ contains font metrics, the latter raster data.
106106
To load a bitmap font, use the load functions in the :py:mod:`~PIL.ImageFont`
107107
module.
108108

109-
To load a OpenType/TrueType font, use the truetype function in the
109+
To load an OpenType/TrueType font, use the truetype function in the
110110
:py:mod:`~PIL.ImageFont` module. Note that this function depends on third-party
111-
libraries, and may not available in all PIL builds.
111+
libraries, and may not be available in all PIL builds.
112112

113113
Example: Draw partial opacity text
114114
----------------------------------

docs/reference/ImageFilter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
=================================
66

77
The :py:mod:`~PIL.ImageFilter` module contains definitions for a pre-defined set of
8-
filters, which can be be used with the :py:meth:`Image.filter()
8+
filters, which can be used with the :py:meth:`Image.filter()
99
<PIL.Image.Image.filter>` method.
1010

1111
Example: Filter an image

docs/reference/TiffTags.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ metadata tag numbers, names, and type information.
1414

1515
.. versionadded:: 8.3.0
1616

17-
:returns: Taginfo namedtuple, From the :py:data:`~PIL.TiffTags.TAGS_V2` info if possible,
17+
:returns: Taginfo namedtuple, from the :py:data:`~PIL.TiffTags.TAGS_V2` info if possible,
1818
otherwise just populating the value and name from :py:data:`~PIL.TiffTags.TAGS`.
1919
If the tag is not recognized, "unknown" is returned for the name
2020

@@ -59,7 +59,7 @@ metadata tag numbers, names, and type information.
5959
.. py:data:: PIL.TiffTags.TAGS
6060
:type: dict
6161

62-
The ``TAGS`` dictionary maps 16-bit integer TIFF tag number to
62+
The ``TAGS`` dictionary maps 16-bit integer TIFF tag numbers to
6363
descriptive string names. For instance:
6464

6565
>>> from PIL.TiffTags import TAGS

docs/reference/c_extension_debugging.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Take your test image, and make a really simple harness.
6464
- Run this through valgrind, but note that python triggers some issues
6565
on its own, so you're looking for items within the Pillow hierarchy
6666
that don't look like they're solely in the python call chain. In this
67-
example, the ones we're interested are after the warnings, and have
67+
example, the ones we're interested in are after the warnings, and have
6868
``decode.c`` and ``TiffDecode.c`` in the call stack:
6969

7070
::
@@ -457,8 +457,8 @@ Caveats
457457
You probably won't have the capability to do that from within the
458458
docker container, as the trace capacity isn't allowed by default.
459459

460-
- Variations of this are possible on the mac/windows, but the details
461-
are going to be different.
460+
- Variations of this are possible on macOS/Windows, but the details are
461+
going to be different.
462462

463463
- IIRC, Fedora has the gdb bits working by default. Ubuntu has always
464464
been a bit of a battle to make it work.

docs/reference/limits.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Internal limits
2323
* Individual memory mapped segments are limited to 2GB in map.c based
2424
on the overflow checks. This requires that any memory mapped image
2525
is smaller than 2GB, as calculated by ``y*stride`` (so 2Gpx for 'L'
26-
images, and .5Gpx for 'RGB'
26+
images, and .5Gpx for 'RGB')
2727

2828
Format size limits
2929
==================

0 commit comments

Comments
 (0)