summaryrefslogtreecommitdiff
path: root/linuxnamespaces
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2024-04-02 12:44:42 +0200
committerHelmut Grohne <helmut@subdivi.de>2024-04-02 12:44:42 +0200
commit8bf4abdea4ac72449a1c8664e4c8285ab71c3e46 (patch)
treeab69de69bb8acc72eeb49c85529c4ab94067995f /linuxnamespaces
parentf30371ca43fa423641c7c261b142243f7e1ca920 (diff)
downloadpython-linuxnamespaces-8bf4abdea4ac72449a1c8664e4c8285ab71c3e46.tar.gz
a few formatting and typo fixes
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: