Skip to content

Commit 7ca200b

Browse files
FIX-#0000: Correct typos 'occured' and 'recieved' (#7695)
Fixed typos across 4 files: - 'occured' → 'occurred' (7 occurrences) - 'recieved' → 'received' (1 occurrence) Co-authored-by: thecaptain789 <thecaptain789@users.noreply.github.com>
1 parent 99037af commit 7ca200b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

modin/core/dataframe/base/interchange/dataframe_protocol/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ def raise_copy_alert(copy_reason: Optional[str] = None) -> None:
177177
----------
178178
copy_reason : str, optional
179179
The reason of making a copy. Should fit to the following format:
180-
'The copy occured due to {copy_reason}.'.
180+
'The copy occurred due to {copy_reason}.'.
181181
"""
182182
msg = "Copy required but 'allow_copy=False' is set."
183183
if copy_reason:
184-
msg += f" The copy occured due to {copy_reason}."
184+
msg += f" The copy occurred due to {copy_reason}."
185185
raise RuntimeError(msg)

modin/core/execution/ray/common/engine_wrapper.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def __init__(self, event_count: int):
255255

256256
def send(self, event_idx: int):
257257
"""
258-
Indicate that event with `event_idx` has occured.
258+
Indicate that event with `event_idx` has occurred.
259259
260260
Parameters
261261
----------
@@ -265,7 +265,7 @@ def send(self, event_idx: int):
265265

266266
async def wait(self, event_idx: int):
267267
"""
268-
Wait until event with `event_idx` has occured.
268+
Wait until event with `event_idx` has occurred.
269269
270270
Parameters
271271
----------
@@ -275,7 +275,7 @@ async def wait(self, event_idx: int):
275275

276276
def is_set(self, event_idx: int) -> bool:
277277
"""
278-
Check that event with `event_idx` had occured or not.
278+
Check that event with `event_idx` had occurred or not.
279279
280280
Parameters
281281
----------

modin/core/execution/unidist/common/engine_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def __init__(self, event_count: int):
181181

182182
def send(self, event_idx: int):
183183
"""
184-
Indicate that event with `event_idx` has occured.
184+
Indicate that event with `event_idx` has occurred.
185185
186186
Parameters
187187
----------
@@ -191,7 +191,7 @@ def send(self, event_idx: int):
191191

192192
async def wait(self, event_idx: int):
193193
"""
194-
Wait until event with `event_idx` has occured.
194+
Wait until event with `event_idx` has occurred.
195195
196196
Parameters
197197
----------

modin/distributed/dataframe/pandas/partitions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def get_block(partition: PartitionUnionType) -> np.ndarray:
104104
blocks = partition.list_of_blocks
105105
assert (
106106
len(blocks) == 1
107-
), f"Implementation assumes that partition contains a single block, but {len(blocks)} recieved."
107+
), f"Implementation assumes that partition contains a single block, but {len(blocks)} received."
108108
return blocks[0]
109109

110110
if get_ip:

0 commit comments

Comments
 (0)