From adf4ebd2d9540dd0812e2db0e5735a5d28d31d81 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Fri, 4 May 2018 22:52:17 +0200 Subject: [PATCH] Remove unnecessary shebang lines (#189) Since black.py is not marked as executable, the shebang in black.py serves no purpose. black should be invoked through its entry point any way. token.py is an internal module without a __name__ == '__main__' block or other executable code. It contains just list of constants and small helper functions. Signed-off-by: Christian Heimes --- black.py | 2 -- blib2to3/pgen2/token.py | 2 -- 2 files changed, 4 deletions(-) mode change 100755 => 100644 blib2to3/pgen2/token.py diff --git a/black.py b/black.py index 5e087d1..fdefb74 100644 --- a/black.py +++ b/black.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python3 - import asyncio import pickle from asyncio.base_events import BaseEventLoop diff --git a/blib2to3/pgen2/token.py b/blib2to3/pgen2/token.py old mode 100755 new mode 100644 index 1a67955..c37b0d5 --- a/blib2to3/pgen2/token.py +++ b/blib2to3/pgen2/token.py @@ -1,5 +1,3 @@ -#! /usr/bin/env python3 - """Token constants (from "token.h").""" # Taken from Python (r53757) and modified to include some tokens -- 2.39.5