Skip to content

Commit 28bb352

Browse files
committed
Remove the shebang of inner Tools.
1 parent 44ca05a commit 28bb352

File tree

7 files changed

+3
-11
lines changed

7 files changed

+3
-11
lines changed

Mac/BuildScript/build-installer.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
"""
32
This script is used to build "official" universal installers on macOS.
43
@@ -1615,7 +1614,7 @@ def buildDMG():
16151614
if os.path.exists(outdir):
16161615
shutil.rmtree(outdir)
16171616

1618-
# We used to use the deployment target as the last characters of the
1617+
# We used to use the deployment target as the last characters of the
16191618
# installer file name. With the introduction of weaklinked installer
16201619
# variants, we may have two variants with the same file name, i.e.
16211620
# both ending in '10.9'. To avoid this, we now use the major/minor

Modules/_sha3/cleanup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
# Usage: ./python Modules/_sha3/cleanup.py
22
# Copyright (C) 2012 Christian Heimes ([email protected])
33
# Licensed to PSF under a Contributor Agreement.
44
#

Objects/typeslots.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#!/usr/bin/python
2-
# Usage: typeslots.py < Include/typeslots.h typeslots.inc
1+
# Usage: ./python typeslots.py < Include/typeslots.h typeslots.inc
32

43
import sys, re
54

Parser/asdl_c.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#! /usr/bin/env python
21
"""Generate C code from an ASDL description."""
32

43
import os

Python/makeopcodetargets.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#! /usr/bin/env python
21
"""Generate C code for the jump table of the threaded code interpreter
32
(for compilers supporting computed gotos or "labels-as-values", such as gcc).
43
"""

Tools/clinic/clinic.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python3
2-
#
31
# Argument Clinic
42
# Copyright 2012-2013 by Larry Hastings.
53
# Licensed to the PSF under a contributor agreement.

Tools/peg_generator/pegen/__main__.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python3.8
2-
31
"""pegen -- PEG Generator.
42
53
Search the web for PEG Parsers for reference.

0 commit comments

Comments
 (0)