Skip to content

Commit

Permalink
Add changelog; fix two minor blib2to3 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ichard26 committed Nov 12, 2021
1 parent e6c02f5 commit e046c14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Expand Up @@ -6,6 +6,8 @@

- Warn about Python 2 deprecation in more cases by improving Python 2 only syntax
detection (#2592)
- Add partial support for the match statement. As it's experimental, it's only enabled
when `--target-version py310` is explicitly specified (#2586)

## 21.10b0

Expand Down
2 changes: 2 additions & 0 deletions src/blib2to3/pygram.py
Expand Up @@ -96,6 +96,7 @@ class _python_symbols(Symbols):
or_test: int
parameters: int
pass_stmt: int
pattern: int
patterns: int
power: int
print_stmt: int
Expand Down Expand Up @@ -153,6 +154,7 @@ class _pattern_symbols(Symbols):
python_grammar_no_print_statement_no_exec_statement_async_keywords: Grammar
python_grammar_no_exec_statement: Grammar
pattern_grammar: Grammar
python_grammar_soft_keywords: Grammar

python_symbols: _python_symbols
pattern_symbols: _pattern_symbols
Expand Down

0 comments on commit e046c14

Please sign in to comment.