Skip to content

Commit 594340d

Browse files
committed
fix: typos
1 parent c469893 commit 594340d

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ def env_add(env, name, value, sep=' ', prepend=False, verbose=False):
752752
'''
753753
v = env.get(name)
754754
if verbose:
755-
log(f'Initally: {name}={v!r}')
755+
log(f'Initially: {name}={v!r}')
756756
if v is None:
757757
v = os.environ.get(name)
758758
if v is None:

src/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8099,7 +8099,7 @@ def _insert_image(self,
80998099
if do_have_imask:
81008100
# `fz_compressed_buffer` is reference counted and
81018101
# `mupdf.fz_new_image_from_compressed_buffer2()`
8102-
# is povided as a Swig-friendly wrapper for
8102+
# is provided as a Swig-friendly wrapper for
81038103
# `fz_new_image_from_compressed_buffer()`, so we can do things
81048104
# straightfowardly.
81058105
#
@@ -19739,7 +19739,7 @@ def get_highlight_selection(page, start: point_like =None, stop: point_like =Non
1973919739

1974019740
Notes:
1974119741
The default of 'start' is top-left of 'clip'. The default of 'stop'
19742-
is bottom-reight of 'clip'.
19742+
is bottom-right of 'clip'.
1974319743

1974419744
Args:
1974519745
start: start point_like

src/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ def find_line_index(values: List[int], value: int) -> int:
579579
values: (list) y-coordinates of rows.
580580
value: (int) lookup for this value (y-origin of char).
581581
Returns:
582-
y-ccordinate of appropriate line for value.
582+
y-coordinate of appropriate line for value.
583583
"""
584584
i = bisect.bisect_right(values, value)
585585
if i:
@@ -743,7 +743,7 @@ def make_textline(left, slot, minslot, lchars):
743743
chars.sort(key=lambda c: c[1])
744744

745745
# populate the lines with their char info
746-
lines = {} # key: y1-ccordinate, value: char list
746+
lines = {} # key: y1-coordinate, value: char list
747747
for c in chars:
748748
_, _, oy, _ = c
749749
y = find_line_index(rows, oy) # y-coord of the right line

src/_apply_pages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,4 +250,4 @@ def childfn():
250250
if verbose:
251251
pymupdf.log(f'{pid=} => {e=}')
252252
if stats:
253-
_stats_write(t, 'Join all child proceses')
253+
_stats_write(t, 'Join all child processes')

0 commit comments

Comments
 (0)