diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py index b789e30946a835..ff2b75c7d89131 100755 --- a/Mac/BuildScript/build-installer.py +++ b/Mac/BuildScript/build-installer.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python """ This script is used to build "official" universal installers on macOS. diff --git a/Objects/typeslots.py b/Objects/typeslots.py index 8ab05f91be12b0..41dc1c155fb1b4 100755 --- a/Objects/typeslots.py +++ b/Objects/typeslots.py @@ -1,5 +1,4 @@ -#!/usr/bin/python -# Usage: typeslots.py < Include/typeslots.h typeslots.inc +# Usage: ./python Objects/typeslots.py < Include/typeslots.h typeslots.inc import sys, re diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 3e307610b635f4..85e730ef1242fb 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Generate C code from an ASDL description.""" import sys diff --git a/Python/makeopcodetargets.py b/Python/makeopcodetargets.py index 33a4b4a76a1253..ac52c95ad45937 100755 --- a/Python/makeopcodetargets.py +++ b/Python/makeopcodetargets.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python """Generate C code for the jump table of the threaded code interpreter (for compilers supporting computed gotos or "labels-as-values", such as gcc). """ diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py index 0ece814e8f1883..13b7710f9ca0f6 100755 --- a/Tools/clinic/clinic.py +++ b/Tools/clinic/clinic.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python3 -# # Argument Clinic # Copyright 2012-2013 by Larry Hastings. # Licensed to the PSF under a contributor agreement. diff --git a/Tools/peg_generator/pegen/__main__.py b/Tools/peg_generator/pegen/__main__.py index 2910d6ccf1c694..c7403422e1774b 100755 --- a/Tools/peg_generator/pegen/__main__.py +++ b/Tools/peg_generator/pegen/__main__.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python3.8 - """pegen -- PEG Generator. Search the web for PEG Parsers for reference.