ast docs: Fix description of ast.Constant (#134741)
Contrary to the current docs, ast.Constant will never hold containers such as frozenset or tuple; the Python parser only emits it for simple literals. For precision, add the exact list of types that may be contained in an ast.Constant.
J
Jelle Zijlstra committed
381020d41fb1f8b33421f01c609ba0d0edb99764
Parent: a425141
Committed by GitHub <noreply@github.com>
on 5/30/2025, 4:11:20 AM