Skip to content

Commit 381e264

Browse files
radarheremokashang
andcommitted
Consistently use "coordinates" instead of "co-ordinates"
Co-authored-by: mokashang <mokashang@users.noreply.github.com>
1 parent 9289863 commit 381e264

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Tests/test_imagefont.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def test_rotated_transposed_font(
365365
bbox_b[2] - bbox_b[0],
366366
)
367367

368-
# Check top left co-ordinates are correct
368+
# Check top left coordinates are correct
369369
assert bbox_b[:2] == (20, 20)
370370

371371
# text length is undefined for vertical text
@@ -410,7 +410,7 @@ def test_unrotated_transposed_font(
410410
bbox_b[3] - bbox_b[1],
411411
)
412412

413-
# Check top left co-ordinates are correct
413+
# Check top left coordinates are correct
414414
assert bbox_b[:2] == (20, 20)
415415

416416
assert length_a == length_b

docs/releasenotes/8.2.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Image.alpha_composite: dest
8181
^^^^^^^^^^^^^^^^^^^^^^^^^^^
8282

8383
When calling :py:meth:`~PIL.Image.Image.alpha_composite`, the ``dest`` argument now
84-
accepts negative co-ordinates, like the upper left corner of the ``box`` argument of
84+
accepts negative coordinates, like the upper left corner of the ``box`` argument of
8585
:py:meth:`~PIL.Image.Image.paste` can be negative. Naturally, this has effect of
8686
cropping the overlaid image.
8787

src/libImaging/Jpeg2KDecode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ j2k_decode_entry(Imaging im, ImagingCodecState state) {
812812
break;
813813
}
814814

815-
/* Adjust the tile co-ordinates based on the reduction (OpenJPEG
815+
/* Adjust the tile coordinates based on the reduction (OpenJPEG
816816
doesn't do this for us) */
817817
tile_info.x0 = (tile_info.x0 + correction) >> context->reduce;
818818
tile_info.y0 = (tile_info.y0 + correction) >> context->reduce;

0 commit comments

Comments
 (0)