Skip to content

Commit

Permalink
Merge pull request #6296 from Yulv-git/typos1
Browse files Browse the repository at this point in the history
Fix some typos
  • Loading branch information
mergify[bot] committed May 14, 2022
2 parents 0805f2a + a0fa540 commit 638ba16
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/releasenotes/8.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Previously, if a BMP file was too large, an ``OSError`` would be raised. Now,
Dark theme for docs
^^^^^^^^^^^^^^^^^^^

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.
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.



2 changes: 1 addition & 1 deletion src/PIL/Image.py
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,7 @@ def getdata(self, band=None):

def getextrema(self):
"""
Gets the the minimum and maximum pixel values for each band in
Gets the minimum and maximum pixel values for each band in
the image.
:returns: For a single-band image, a 2-tuple containing the
Expand Down
2 changes: 1 addition & 1 deletion src/PIL/SpiderImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#

##
# Image plugin for the Spider image format. This format is is used
# Image plugin for the Spider image format. This format is used
# by the SPIDER software, in processing image data from electron
# microscopy and tomography.
##
Expand Down
2 changes: 1 addition & 1 deletion src/libImaging/GifDecode.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ ImagingGifDecode(Imaging im, ImagingCodecState state, UINT8 *buffer, Py_ssize_t

context->blocksize--;

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

Expand Down

0 comments on commit 638ba16

Please sign in to comment.