From fb1ab1fabb0f9f7f470620cb30700c795a7bbd1c Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Sat, 2 Mar 2024 09:13:25 +0100 Subject: fix typos --- linuxnamespaces/syscalls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linuxnamespaces') diff --git a/linuxnamespaces/syscalls.py b/linuxnamespaces/syscalls.py index ab715f2..c22a9d8 100644 --- a/linuxnamespaces/syscalls.py +++ b/linuxnamespaces/syscalls.py @@ -220,7 +220,7 @@ class MountFlags(enum.IntFlag): def tostr(self) -> str: """Attempt to represent the flags in a comma-separated, textual way.""" if (self & MountFlags.PROPAGATION_FLAGS).bit_count() > 1: - raise ValueError("cannot represent conflicting propagtion flags") + raise ValueError("cannot represent conflicting propagation flags") parts: list[str] = [] remain = self for val, text in MountFlags.__flagvals: @@ -440,7 +440,7 @@ class EventFD: fut.set_result(result) def aread(self) -> typing.Awaitable[int]: - """Decrease the value of the eventfd asynchronously. It mst have been + """Decrease the value of the eventfd asynchronously. It must have been constructed using EventFDFlags.NONBLOCK. """ if self.fd < 0: -- cgit v1.2.3