<commit_before>__doc__ = u"""
>>> print(foo())
a
"""

# Indirectly makes sure the cleanup happens correctly on breaking.
def foo():
    for x in "abc":
        try:
            x()
        except:
            break
    for x in "abc":
        try:
            x()
        except:
            return x<commit_msg>improved test case<commit_after># Indirectly makes sure the cleanup happens correctly on breaking.

def try_except_break():
    """
    >>> print(try_except_break())
    a
    """
    for x in list("abc"):
        try:
            x()
        except:
            break
    return x

def try_break_except():
    """
    >>> print(try_break_except())
    a
    """
    for x in list("abc"):
        try:
            break
        except:
            pass
    return x

def try_no_break_except_return():
    """
    >>> print(try_no_break_except_return())
    a
    """
    for x in list("abc"):
        try:
            x()
            break
        except:
            return x
    return x
{'fraction_non_alphanumeric': 0.11388611388611389, 'fraction_numerical': 0.0, 'mean_word_length': 1.5175879396984924, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2846267', 'n_tokens_mistral': 298, 'n_tokens_neox': 299, 'n_words': 87}