Skip to content

Commit 79b429f

Browse files
kianmengrjarry
authored andcommitted
docs: fix typos
Found via `codespell -L astroid` Signed-off-by: Kian-Meng Ang <[email protected]>
1 parent 8d53571 commit 79b429f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

sysrepo/change.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def update_config_cache(conf: Dict, changes: List[Change]) -> None:
196196
Maintain a configuration dict from a list of Change objects.
197197
198198
This function is intended to be used in module change callbacks if they want to
199-
preserve a full view of all the configuration without asking sysrepo everytime the
199+
preserve a full view of all the configuration without asking sysrepo every time the
200200
callback is invoked.
201201
202202
:arg conf:

sysrepo/session.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1511,7 +1511,7 @@ def rpc_send(
15111511
:arg strip_prefixes:
15121512
If True, remove YANG module prefixes from dictionary keys.
15131513
:arg include_implicit_defaults:
1514-
Include leaves with implicit default values in the retured dict.
1514+
Include leaves with implicit default values in the returned dict.
15151515
:arg trim_default_values:
15161516
Exclude leaves when their value equals the default.
15171517
:arg keep_empty_containers:

sysrepo/subscription.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def task_done(self, task_id: Any, event: str, task: asyncio.Task) -> None:
157157
self.process_events()
158158
else:
159159
# Sysrepo does not care about the result of the callback.
160-
# This will raise the exception here if any occured in the task
160+
# This will raise the exception here if any occurred in the task
161161
# and will be logged (i.e. not lost).
162162
self.tasks.pop(task_id, None)
163163
task.result()

sysrepo/value.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __new__(cls, *args):
2828
to ``None``.
2929
"""
3030
if cls is Value:
31-
raise TypeError("Value cannot be instanciated directly, use subclasses")
31+
raise TypeError("Value cannot be instantiated directly, use subclasses")
3232
i = 0
3333
new_args = [cls]
3434
if cls.value_field is not None:

0 commit comments

Comments
 (0)