Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/download_pypi_packages.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

import argparse
import json
Expand Down
2 changes: 1 addition & 1 deletion scripts/find_max_nesting.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3
"""Find the maximum amount of nesting for an expression that can be parsed
without causing a parse error.

Expand Down
2 changes: 1 addition & 1 deletion scripts/grammar_grapher.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

""" Convert a grammar into a dot-file suitable for use with GraphViz

Expand Down
2 changes: 1 addition & 1 deletion scripts/joinstats.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

"""Produce a report about the most-memoable types.

Expand Down
2 changes: 1 addition & 1 deletion scripts/show_parse.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

"""Show the parse tree for a given program, nicely formatted.

Expand Down
2 changes: 1 addition & 1 deletion scripts/test_parse_directory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

import argparse
import ast
Expand Down
2 changes: 1 addition & 1 deletion scripts/test_pypi_packages.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

import argparse
import os
Expand Down
2 changes: 1 addition & 1 deletion src/pegen/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

"""pegen -- PEG Generator.

Expand Down
2 changes: 1 addition & 1 deletion src/pegen/first_sets.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

import argparse
import pprint
Expand Down
2 changes: 1 addition & 1 deletion src/pegen/grammar_parser.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3
# @generated by pegen from src/pegen/metagrammar.gram

import ast
Expand Down
2 changes: 1 addition & 1 deletion src/pegen/python_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from pegen.parser_generator import ParserGenerator

MODULE_PREFIX = """\
#!/usr/bin/env python3.8
#!/usr/bin/env python3
# @generated by pegen from {filename}

import ast
Expand Down
2 changes: 1 addition & 1 deletion stories/story2/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

import sys
from tokenize import generate_tokens
Expand Down
2 changes: 1 addition & 1 deletion stories/story3/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

import sys
from tokenize import generate_tokens
Expand Down
2 changes: 1 addition & 1 deletion stories/story4/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

import sys
from tokenize import generate_tokens
Expand Down
2 changes: 1 addition & 1 deletion stories/story5/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

import argparse
import os
Expand Down
2 changes: 1 addition & 1 deletion stories/story6/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

import argparse
import os
Expand Down
2 changes: 1 addition & 1 deletion stories/story7/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3

import argparse
import os
Expand Down