summaryrefslogtreecommitdiff
path: root/linuxnamespaces/filedescriptor.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2025-05-21 22:34:37 +0200
committerHelmut Grohne <helmut@subdivi.de>2025-05-21 22:34:37 +0200
commit58af839d8f7b47aea2c4ab37f2b5e168c03a3bb0 (patch)
tree93f272a456cdc4c039dd24c3a24a9ef8d827da60 /linuxnamespaces/filedescriptor.py
parent29ef6690e5ae0433821995c89ae682ad0fa7f80d (diff)
downloadpython-linuxnamespaces-58af839d8f7b47aea2c4ab37f2b5e168c03a3bb0.tar.gz
agree a bit with black's formatting recommendations
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