summaryrefslogtreecommitdiffstats
path: root/contrib/python/Twisted/py3/twisted/_threads/_convenience.py
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2024-11-12 07:54:50 +0300
committerrobot-piglet <[email protected]>2024-11-12 08:05:59 +0300
commit55cec9f6b0618fb3570fc8ef66aad151f4932591 (patch)
tree9198c2ca0b0305269062c3674ce79f19c4990e65 /contrib/python/Twisted/py3/twisted/_threads/_convenience.py
parentb77b1fbf262ea4f40e33a60ce32c4db4e5e49015 (diff)
Intermediate changes
commit_hash:c229701a8b4f4d9ee57ce1ed763099d862d53fa6
Diffstat (limited to 'contrib/python/Twisted/py3/twisted/_threads/_convenience.py')
-rw-r--r--contrib/python/Twisted/py3/twisted/_threads/_convenience.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/python/Twisted/py3/twisted/_threads/_convenience.py b/contrib/python/Twisted/py3/twisted/_threads/_convenience.py
index deff5764624..3d8c6682f01 100644
--- a/contrib/python/Twisted/py3/twisted/_threads/_convenience.py
+++ b/contrib/python/Twisted/py3/twisted/_threads/_convenience.py
@@ -18,13 +18,13 @@ class Quit:
@type isSet: L{bool}
"""
- def __init__(self):
+ def __init__(self) -> None:
"""
Create a L{Quit} un-set.
"""
self.isSet = False
- def set(self):
+ def set(self) -> None:
"""
Set the flag if it has not been set.
@@ -33,7 +33,7 @@ class Quit:
self.check()
self.isSet = True
- def check(self):
+ def check(self) -> None:
"""
Check if the flag has been set.