Minor change to documentation

This commit is contained in:
Nocturn9x 2022-10-19 11:37:45 +02:00
parent 6690263b55
commit 07b8337a46
1 changed files with 3 additions and 5 deletions

View File

@ -114,10 +114,7 @@ class FIFOKernel:
Closes the event loop. If force equals False,
which is the default, raises an InternalError
exception. If force equals True, cancels all
tasks.
:param force:
:return:
tasks
"""
if not self.done() and not force:
@ -517,7 +514,8 @@ class FIFOKernel:
# the last one used, then this method will register a new
# one
if self.current_task.last_io == (evt_type, resource):
# Socket is already listening for that event!
# Selector is already listening for that event on
# this resource
return
elif self.current_task.last_io[1] == resource:
# If the event to listen for has changed we just modify it