Skip to content

Commit 153ce40

Browse files
committed
Update Python shebangs
1 parent 392b0ce commit 153ce40

File tree

17 files changed

+18
-18
lines changed

17 files changed

+18
-18
lines changed

build_libtcod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env python
22
"""Parse and compile libtcod and SDL sources for CFFI."""
33
from __future__ import annotations
44

build_sdl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env python
22
"""Build script to parse SDL headers and generate CFFI bindings."""
33
from __future__ import annotations
44

docs/tcod/getting-started.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ integer increments.
2121

2222
Example::
2323

24-
#!/usr/bin/env python3
24+
#!/usr/bin/env python
2525
# Make sure 'dejavu10x10_gs_tc.png' is in the same directory as this script.
2626
import tcod.console
2727
import tcod.context
@@ -89,7 +89,7 @@ clearing the console every frame and replacing it only on resizing the window.
8989

9090
Example::
9191

92-
#!/usr/bin/env python3
92+
#!/usr/bin/env python
9393
import tcod.context
9494
import tcod.event
9595

examples/audio_tone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env python
22
"""Shows how to use tcod.sdl.audio to play a custom-made audio stream.
33
44
Opens an audio device using SDL and plays a square wave for 1 second.

examples/cavegen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env python
22
"""A basic cellular automata cave generation example using SciPy.
33
44
http://www.roguebasin.com/index.php?title=Cellular_Automata_Method_for_Generating_Random_Cave-Like_Levels

examples/distribution/PyInstaller/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env python
22
# To the extent possible under law, the libtcod maintainers have waived all
33
# copyright and related or neighboring rights for the "hello world" PyInstaller
44
# example script. This work is published from: United States.

examples/distribution/cx_Freeze/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env python
22
"""cx_Freeze main script example."""
33
import tcod.console
44
import tcod.context

examples/distribution/cx_Freeze/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env python
22
import sys
33

44
from cx_Freeze import Executable, setup # type: ignore

examples/eventget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env python
22
# To the extent possible under law, the libtcod maintainers have waived all
33
# copyright and related or neighboring rights for this example. This work is
44
# published from: United States.

examples/framerate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env python
22
# To the extent possible under law, the libtcod maintainers have waived all
33
# copyright and related or neighboring rights for this example. This work is
44
# published from: United States.

0 commit comments

Comments
 (0)