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:
parent
e84dee52d9
commit
adf4ebd2d9
2
black.py
2
black.py
@ -1,5 +1,3 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
import pickle
|
import pickle
|
||||||
from asyncio.base_events import BaseEventLoop
|
from asyncio.base_events import BaseEventLoop
|
||||||
|
2
blib2to3/pgen2/token.py
Executable file → Normal file
2
blib2to3/pgen2/token.py
Executable file → Normal file
@ -1,5 +1,3 @@
|
|||||||
#! /usr/bin/env python3
|
|
||||||
|
|
||||||
"""Token constants (from "token.h")."""
|
"""Token constants (from "token.h")."""
|
||||||
|
|
||||||
# Taken from Python (r53757) and modified to include some tokens
|
# Taken from Python (r53757) and modified to include some tokens
|
||||||
|
Loading…
Reference in New Issue
Block a user