Merge pull request #6296 from Yulv-git/typos1

Fix some typos
This commit is contained in:
mergify[bot] 2022-05-14 10:00:50 +00:00 committed by GitHub
commit 638ba163f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -174,7 +174,7 @@ Previously, if a BMP file was too large, an ``OSError`` would be raised. Now,
Dark theme for docs 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.

View File

@ -1324,7 +1324,7 @@ class Image:
def getextrema(self): 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. the image.
:returns: For a single-band image, a 2-tuple containing the :returns: For a single-band image, a 2-tuple containing the

View File

@ -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 # by the SPIDER software, in processing image data from electron
# microscopy and tomography. # microscopy and tomography.
## ##

View File

@ -125,7 +125,7 @@ ImagingGifDecode(Imaging im, ImagingCodecState state, UINT8 *buffer, Py_ssize_t
context->blocksize--; 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->bitbuffer |= (INT32)c << context->bitcount;
context->bitcount += 8; context->bitcount += 8;