mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix the Tools/peg_generator/scripts/benchmark.py script (GH-19848)
This commit is contained in:
parent
289842ae82
commit
6bd99d5f00
2 changed files with 4 additions and 3 deletions
|
@ -15,7 +15,7 @@ from pegen.parser_generator import ParserGenerator
|
|||
from pegen.python_generator import PythonParserGenerator
|
||||
from pegen.tokenizer import Tokenizer
|
||||
|
||||
MOD_DIR = pathlib.Path(__file__).parent
|
||||
MOD_DIR = pathlib.Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def get_extra_flags(compiler_flags: str, compiler_py_flags_nodist: str) -> List[str]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue