Python compat - no explicit reference to Python version

Update documentation and shebang.

Differential Revision: https://reviews.llvm.org/D56252

llvm-svn: 350327
This commit is contained in:
Serge Guelton 2019-01-03 15:44:24 +00:00
parent 01c86ce50d
commit a749c2ae5c
9 changed files with 9 additions and 9 deletions

View File

@ -17,7 +17,7 @@ Quickstart
```bash ```bash
% mkdir venv % mkdir venv
% virtualenv -p python2.7 venv % virtualenv venv
% . venv/bin/activate % . venv/bin/activate
% pip install svn+http://llvm.org/svn/llvm-project/llvm/trunk/utils/lit % pip install svn+http://llvm.org/svn/llvm-project/llvm/trunk/utils/lit
% lit --version % lit --version

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
from __future__ import print_function from __future__ import print_function

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
"""A script to generate FileCheck statements for 'opt' analysis tests. """A script to generate FileCheck statements for 'opt' analysis tests.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
"""A test case update script. """A test case update script.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
"""A test case update script. """A test case update script.

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2.7 #!/usr/bin/env python
"""A script to generate FileCheck statements for 'opt' regression tests. """A script to generate FileCheck statements for 'opt' regression tests.