• Guido van Rossum's avatar
    From: "Tim Peters" <tim_one@msn.com> · 57cba449
    Guido van Rossum authored
    The 1.5.1 tabnanny.py suffers an assert error if fed a script whose last
    line is both indented and lacks a newline:
    
    if 1:
        print 'oh fudge' # no newline here:
    
    The attached version repairs that.
    57cba449
tabnanny.py 11.4 KB