whiteSpaceEatingNanoVirii

Michal Wallace (sabren) sabren at manifestation.com
Tue Feb 22 21:15:50 EST 2000


You know, sometimes you actually WANT a whitespace-eating nanovirus..
Consider:


def bubba():
    return """
    This is a multi-line string
    with indentation.
    """

def testbubba():
    if 1==1: # just something to change the indentation
        assert bubba() == """
        This is a multi-line string
        with indentation.
        """

:) I can compensate for this.. I just thought it was funny.

Cheers,

- Michal
-------------------------------------------------------------------------
http://www.manifestation.com/         http://www.linkwatcher.com/metalog/
-------------------------------------------------------------------------





More information about the Python-list mailing list