Skip to content

Commit 849ac8f

Browse files
committed
Docs: fix typo and clean up lines.
1 parent a77ce55 commit 849ac8f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

tcod/event.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,15 +1264,14 @@ def wait(timeout: Optional[float] = None) -> Iterator[Any]:
12641264

12651265

12661266
class EventDispatch(Generic[T]):
1267-
'''This class dispatches events to methods depending on the events type
1268-
attribute.
1267+
'''Dispatches events to methods depending on the events type attribute.
12691268
1270-
To use this class, make a sub-class and override the relevant `ev_*`
1271-
methods. Then send events to the dispatch method.
1269+
To use this class, make a sub-class and override the relevant `ev_*` methods.
1270+
Then send events to the dispatch method.
12721271
12731272
.. versionchanged:: 11.12
1274-
This is now a generic class. The type hists at the return value of
1275-
:any:`dispatch` and the `ev_*` methods.
1273+
This is now a generic class.
1274+
The type hints at the return value of :any:`dispatch` and the `ev_*` methods.
12761275
12771276
Example::
12781277

0 commit comments

Comments
 (0)