summaryrefslogtreecommitdiff
path: root/linuxnamespaces
diff options
context:
space:
mode:
Diffstat (limited to 'linuxnamespaces')
-rw-r--r--linuxnamespaces/__init__.py2
-rw-r--r--linuxnamespaces/atlocation.py2
-rw-r--r--linuxnamespaces/syscalls.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/linuxnamespaces/__init__.py b/linuxnamespaces/__init__.py
index d27fd7b..c12a13c 100644
--- a/linuxnamespaces/__init__.py
+++ b/linuxnamespaces/__init__.py
@@ -237,7 +237,7 @@ class run_in_fork:
class async_run_in_fork:
"""Decorator for running the decorated function once in a separate process.
Note that the decorator can only be used inside asynchronous code as it
- uses the running event loop. The decorated function insetad must be
+ uses the running event loop. The decorated function instead must be
synchronous and it must not access the event loop of the main process.
"""
def __init__(self, function: typing.Callable[[], None]):
diff --git a/linuxnamespaces/atlocation.py b/linuxnamespaces/atlocation.py
index 9e32596..04e5852 100644
--- a/linuxnamespaces/atlocation.py
+++ b/linuxnamespaces/atlocation.py
@@ -478,7 +478,7 @@ class AtLocation:
follow_symlinks: bool = False,
) -> typing.Iterator[
tuple[
- "AtLocation", list["AtLocation"], list["AtLocation"], "AtLocation",
+ "AtLocation", list["AtLocation"], list["AtLocation"], "AtLocation"
]
]:
"""Resemble os.fwalk with a few differences. The returned iterator
diff --git a/linuxnamespaces/syscalls.py b/linuxnamespaces/syscalls.py
index de1b87e..be49632 100644
--- a/linuxnamespaces/syscalls.py
+++ b/linuxnamespaces/syscalls.py
@@ -214,7 +214,7 @@ class MountFlags(enum.IntFlag):
(STRICTATIME, "strictatime"),
(LAZYTIME, "lazytime"),
],
- reverse=True
+ reverse=True,
)
def tostr(self) -> str: