diff --git a/docs/2_draw/draw.rst b/docs/2_draw/draw.rst index 907ef75..8f45dbc 100644 --- a/docs/2_draw/draw.rst +++ b/docs/2_draw/draw.rst @@ -70,7 +70,7 @@ Detect the mouse ---------------- Pressing the mouse buttons produces MOUSEBUTTONDOWN and MOUSEBUTTONUP events. -The flollowing code in the event loop detects them and writes the event to the console:: +The following code in the event loop detects them and writes the event to the console:: for event in pygame.event.get(): if event.type == QUIT: @@ -236,4 +236,4 @@ Here is the complete file: .. literalinclude:: mouse4.py -:download:`mouse4.py` \ No newline at end of file +:download:`mouse4.py`