mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
normalize shebang lines to #!/usr/bin/env python
This commit is contained in:
parent
afa595b31b
commit
9cf41d0c9d
26 changed files with 26 additions and 26 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/local/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
"""CGI test 1 - check server setup."""
|
"""CGI test 1 - check server setup."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/local/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
"""CGI test 2 - basic use of cgi module."""
|
"""CGI test 2 - basic use of cgi module."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/local/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
"""CGI test 3 (persistent data)."""
|
"""CGI test 3 (persistent data)."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo-I_dont_like_tiltdemo.py
|
tdemo-I_dont_like_tiltdemo.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_bytedesign.py
|
tdemo_bytedesign.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
# -*- coding: cp1252 -*-
|
# -*- coding: cp1252 -*-
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_fractalCurves.py
|
tdemo_fractalCurves.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
xtx_lindenmayer_indian.py
|
xtx_lindenmayer_indian.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_minimal_hanoi.py
|
tdemo_minimal_hanoi.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_paint.py
|
tdemo_paint.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_peace.py
|
tdemo_peace.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
""" xturtle-example-suite:
|
""" xturtle-example-suite:
|
||||||
|
|
||||||
xtx_kites_and_darts.py
|
xtx_kites_and_darts.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_planets_and_moon.py
|
tdemo_planets_and_moon.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_tree.py
|
tdemo_tree.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
""" turtle-example-suite:
|
""" turtle-example-suite:
|
||||||
|
|
||||||
tdemo_yinyang.py
|
tdemo_yinyang.py
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
## DEMONSTRATES USE OF 2 CANVASES, SO CANNOT BE RUN IN DEMOVIEWER!
|
## DEMONSTRATES USE OF 2 CANVASES, SO CANNOT BE RUN IN DEMOVIEWER!
|
||||||
"""turtle example: Using TurtleScreen and RawTurtle
|
"""turtle example: Using TurtleScreen and RawTurtle
|
||||||
for drawing on two distinct canvases.
|
for drawing on two distinct canvases.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import smtplib
|
import smtplib
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
from test import test_support
|
from test import test_support
|
||||||
from test.test_support import TESTFN, import_module
|
from test.test_support import TESTFN, import_module
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
#
|
#
|
||||||
# Test suite for Optik. Supplied by Johannes Gijsbers
|
# Test suite for Optik. Supplied by Johannes Gijsbers
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
"""
|
"""
|
||||||
This script is used to build the "official unofficial" universal build on
|
This script is used to build the "official unofficial" universal build on
|
||||||
Mac OS X. It requires Mac OS X 10.4, Xcode 2.2 and the 10.4u SDK to do its
|
Mac OS X. It requires Mac OS X 10.4, Xcode 2.2 and the 10.4u SDK to do its
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
"""fixapplepython23 - Fix Apple-installed Python 2.3 (on Mac OS X 10.3)
|
"""fixapplepython23 - Fix Apple-installed Python 2.3 (on Mac OS X 10.3)
|
||||||
|
|
||||||
Python 2.3 (and 2.3.X for X<5) have the problem that building an extension
|
Python 2.3 (and 2.3.X for X<5) have the problem that building an extension
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/local/bin/python
|
#!/usr/bin/env python
|
||||||
"""Recursively zap all .pyc and .pyo files"""
|
"""Recursively zap all .pyc and .pyo files"""
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/local/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
"""FAQ wizard bootstrap."""
|
"""FAQ wizard bootstrap."""
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# Setup file for pybench
|
# Setup file for pybench
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/local/bin/python
|
#!/usr/bin/env python
|
||||||
""" Utility for parsing HTML entity definitions available from:
|
""" Utility for parsing HTML entity definitions available from:
|
||||||
|
|
||||||
http://www.w3.org/ as e.g.
|
http://www.w3.org/ as e.g.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue