diff --git a/Lib/encodings/rot_13.py b/Lib/encodings/rot_13.py old mode 100755 new mode 100644 index 5627bfbc69cbbc..ee8005b2d6ce31 --- a/Lib/encodings/rot_13.py +++ b/Lib/encodings/rot_13.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python """ Python Character Mapping Codec for ROT13. This codec de/encodes from str to str. diff --git a/Lib/idlelib/idle_test/example_noext b/Lib/idlelib/idle_test/example_noext index 7d2510e30bc0ae..10e06dc276e927 100644 --- a/Lib/idlelib/idle_test/example_noext +++ b/Lib/idlelib/idle_test/example_noext @@ -1,4 +1,2 @@ -#!usr/bin/env python - def example_function(some_argument): pass diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 5c8014a47d5177..268e57eb7a3a0e 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Generate C code from an ASDL description.""" import sys diff --git a/Tools/build/smelly.py b/Tools/build/smelly.py index 7c534269c57a09..6382acf740dafc 100755 --- a/Tools/build/smelly.py +++ b/Tools/build/smelly.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Script checking that all symbols exported by libpython start with Py or _Py import os.path diff --git a/Tools/wasm/emscripten/web_example/server.py b/Tools/wasm/emscripten/web_example/server.py index 768e6f84e07798..e0c2c345ae7eaf 100755 --- a/Tools/wasm/emscripten/web_example/server.py +++ b/Tools/wasm/emscripten/web_example/server.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import argparse from http import server diff --git a/Tools/wasm/emscripten/web_example/wasm_assets.py b/Tools/wasm/emscripten/web_example/wasm_assets.py index 7f0fa7ae7c10ec..59f621c2fd2cdc 100755 --- a/Tools/wasm/emscripten/web_example/wasm_assets.py +++ b/Tools/wasm/emscripten/web_example/wasm_assets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """Create a WASM asset bundle directory structure. The WASM asset bundles are pre-loaded by the final WASM build. The bundle