diff --git a/sysrepo/change.py b/sysrepo/change.py index ad9ecaf..a0f3885 100644 --- a/sysrepo/change.py +++ b/sysrepo/change.py @@ -196,7 +196,7 @@ def update_config_cache(conf: Dict, changes: List[Change]) -> None: Maintain a configuration dict from a list of Change objects. This function is intended to be used in module change callbacks if they want to - preserve a full view of all the configuration without asking sysrepo everytime the + preserve a full view of all the configuration without asking sysrepo every time the callback is invoked. :arg conf: diff --git a/sysrepo/session.py b/sysrepo/session.py index 79c3493..582362a 100644 --- a/sysrepo/session.py +++ b/sysrepo/session.py @@ -1511,7 +1511,7 @@ def rpc_send( :arg strip_prefixes: If True, remove YANG module prefixes from dictionary keys. :arg include_implicit_defaults: - Include leaves with implicit default values in the retured dict. + Include leaves with implicit default values in the returned dict. :arg trim_default_values: Exclude leaves when their value equals the default. :arg keep_empty_containers: diff --git a/sysrepo/subscription.py b/sysrepo/subscription.py index 342adfb..d54bab7 100644 --- a/sysrepo/subscription.py +++ b/sysrepo/subscription.py @@ -157,7 +157,7 @@ def task_done(self, task_id: Any, event: str, task: asyncio.Task) -> None: self.process_events() else: # Sysrepo does not care about the result of the callback. - # This will raise the exception here if any occured in the task + # This will raise the exception here if any occurred in the task # and will be logged (i.e. not lost). self.tasks.pop(task_id, None) task.result() diff --git a/sysrepo/value.py b/sysrepo/value.py index 92f6532..f1f698f 100644 --- a/sysrepo/value.py +++ b/sysrepo/value.py @@ -28,7 +28,7 @@ def __new__(cls, *args): to ``None``. """ if cls is Value: - raise TypeError("Value cannot be instanciated directly, use subclasses") + raise TypeError("Value cannot be instantiated directly, use subclasses") i = 0 new_args = [cls] if cls.value_field is not None: