summaryrefslogtreecommitdiff
path: root/linuxnamespaces/filedescriptor.py
diff options
context:
space:
mode:
Diffstat (limited to 'linuxnamespaces/filedescriptor.py')
-rw-r--r--linuxnamespaces/filedescriptor.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/linuxnamespaces/filedescriptor.py b/linuxnamespaces/filedescriptor.py
index ea699c2..f9460bf 100644
--- a/linuxnamespaces/filedescriptor.py
+++ b/linuxnamespaces/filedescriptor.py
@@ -10,8 +10,7 @@ import typing
@typing.runtime_checkable
class HasFileno(typing.Protocol):
- def fileno(self) -> int:
- ...
+ def fileno(self) -> int: ...
FileDescriptorLike = int | HasFileno