Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Lib/encodings/rot_13.py
100755 → 100644
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this file, it would be better to remove the shebang and executable bit.
(Ref previous PR and ticket)

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
""" Python Character Mapping Codec for ROT13.

This codec de/encodes from str to str.
Expand Down
2 changes: 0 additions & 2 deletions Lib/idlelib/idle_test/example_noext
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!usr/bin/env python

def example_function(some_argument):
pass
2 changes: 1 addition & 1 deletion Parser/asdl_c.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change useful? Are there people invoking Parser/asdl_c.py like this, or is it the makefile (and other build systems) running something like $PYTHON_FOR_BUILD $srcdir/Parser/asdl_c.py ?

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3
"""Generate C code from an ASDL description."""

import sys
Expand Down
2 changes: 1 addition & 1 deletion Tools/build/smelly.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Tools/wasm/emscripten/web_example/server.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import argparse
from http import server

Expand Down
2 changes: 1 addition & 1 deletion Tools/wasm/emscripten/web_example/wasm_assets.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading