Skip to content

Commit 638ba16

Browse files
authored
Merge pull request #6296 from Yulv-git/typos1
Fix some typos
2 parents 0805f2a + a0fa540 commit 638ba16

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/releasenotes/8.0.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Previously, if a BMP file was too large, an ``OSError`` would be raised. Now,
174174
Dark theme for docs
175175
^^^^^^^^^^^^^^^^^^^
176176

177-
The https://pillow.readthedocs.io documentation will use a dark theme if the the user has requested the system use one. Uses the ``prefers-color-scheme`` CSS media query.
177+
The https://pillow.readthedocs.io documentation will use a dark theme if the user has requested the system use one. Uses the ``prefers-color-scheme`` CSS media query.
178178

179179

180180

src/PIL/Image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ def getdata(self, band=None):
13241324

13251325
def getextrema(self):
13261326
"""
1327-
Gets the the minimum and maximum pixel values for each band in
1327+
Gets the minimum and maximum pixel values for each band in
13281328
the image.
13291329
13301330
:returns: For a single-band image, a 2-tuple containing the

src/PIL/SpiderImagePlugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#
1616

1717
##
18-
# Image plugin for the Spider image format. This format is is used
18+
# Image plugin for the Spider image format. This format is used
1919
# by the SPIDER software, in processing image data from electron
2020
# microscopy and tomography.
2121
##

src/libImaging/GifDecode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ ImagingGifDecode(Imaging im, ImagingCodecState state, UINT8 *buffer, Py_ssize_t
125125

126126
context->blocksize--;
127127

128-
/* New bits are shifted in from from the left. */
128+
/* New bits are shifted in from the left. */
129129
context->bitbuffer |= (INT32)c << context->bitcount;
130130
context->bitcount += 8;
131131

0 commit comments

Comments
 (0)