def foo():
    '''
        >>> class bad():
        ...     pass
    '''
    pass

def foo():
    '''
        >>> class bad():
        ...     pass
    '''
    pass

>>> class bad():         ...     pass