bpo-41215: Make assertion in the new parser more strict (GH-21364)

1 file changed