Mercurial > py-sdl2
changeset 160:492b131c4ccc
Fix syntax error in import
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Mon, 24 Feb 2014 23:00:39 +0100 |
| parents | d4ab011624ba |
| children | 991b2ad41834 |
| files | doc/tutorial/pong.rst |
| diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/tutorial/pong.rst Mon Feb 24 22:56:41 2014 +0100 +++ b/doc/tutorial/pong.rst Mon Feb 24 23:00:39 2014 +0100 @@ -14,9 +14,11 @@ to close the window and exit the game. :: import sys - import sdl2 import + + import sdl2 import sdl2.ext + def run(): sdl2.ext.init() window = sdl2.ext.Window("The Pong Game", size=(800, 600))
