]> granicus.if.org Git - python/commit
From: "Tim Peters" <tim_one@msn.com>
authorGuido van Rossum <guido@python.org>
Tue, 9 Jun 1998 19:02:21 +0000 (19:02 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 9 Jun 1998 19:02:21 +0000 (19:02 +0000)
commitaa2a7a4ae669a3fa6331b29429f6cf29b04dde91
tree61b3b9efc449e57a0e9a1d4d3f8ba993a6b2d3da
parentcd5a5f627a4b30aacc1991feca5bc7f48ef7584d
From: "Tim Peters" <tim_one@msn.com>

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.
Lib/tabnanny.py
Tools/idle/tabnanny.py
Tools/scripts/tabnanny.py