Commit adf4ebd2 authored by Christian Heimes's avatar Christian Heimes Committed by Łukasz Langa
Browse files

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: default avatarChristian Heimes <christian@python.org>
parent e84dee52
Loading
Loading
Loading
Loading
+0 −2
Changes for black.py: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
#!/usr/bin/env python3

import asyncio
import pickle
from asyncio.base_events import BaseEventLoop

blib2to3/pgen2/token.py

100755 → 100644
+0 −2
Changes for blib2to3/pgen2/token.py: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
#! /usr/bin/env python3

"""Token constants (from "token.h")."""

#  Taken from Python (r53757) and modified to include some tokens