The assertions that need this function were added to convince ourselves that the refactor away from it is correct. We don't need them anymore, so we can remove this function.
pythongh-124013: remove _PyCompile_IsTopLevelAwait
gh-124013: remove _PyCompile_IsTopLevelAwait (#124014)
Activity
pythongh-124013: remove _PyCompile_IsTopLevelAwait
gh-124013: remove _PyCompile_IsTopLevelAwait (#124014)