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 <christian@python.org>
This commit is contained in:
Christian Heimes 2018-05-04 22:52:17 +02:00 committed by Łukasz Langa
parent e84dee52d9
commit adf4ebd2d9
2 changed files with 0 additions and 4 deletions

View File

@ -1,5 +1,3 @@
#!/usr/bin/env python3
import asyncio
import pickle
from asyncio.base_events import BaseEventLoop

2
blib2to3/pgen2/token.py Executable file → Normal file
View File

@ -1,5 +1,3 @@
#! /usr/bin/env python3
"""Token constants (from "token.h")."""
# Taken from Python (r53757) and modified to include some tokens