mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	|  96ec934e75 This commit simplifies async/await tokenization in tokenizer.c, tokenize.py & lib2to3/tokenize.py. Previous solution was to keep a stack of async-def & def blocks, whereas the new approach is just to remember position of the outermost async-def block. This change won't bring any parsing performance improvements, but it makes the code much easier to read and validate. | ||
|---|---|---|
| .. | ||
| data | ||
| __init__.py | ||
| __main__.py | ||
| pytree_idempotency.py | ||
| support.py | ||
| test_all_fixers.py | ||
| test_fixers.py | ||
| test_main.py | ||
| test_parser.py | ||
| test_pytree.py | ||
| test_refactor.py | ||
| test_util.py | ||