commit | b45af1a5691e83b86321fc52d173f66cf891ce5f | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue May 26 10:58:44 2020 -0700 |
committer | GitHub <noreply@github.com> | Tue May 26 10:58:44 2020 -0700 |
tree | ff39a728c49995811eeca554bc7b2ce89be2644e | |
parent | 578c3955e0222ec7b3146197467fbb0fcfae12fe [diff] |
Add soft keywords (GH-20370) These are like keywords but they only work in context; they are not reserved except when there is an exact match. This would enable things like match statements without reserving `match` (which would be bad for the `re.match()` function and probably lots of other places). Automerge-Triggered-By: @gvanrossum