]> granicus.if.org Git - python/commit
Separate the script portion from the library portion; everything that
authorFred Drake <fdrake@acm.org>
Wed, 5 Dec 2001 15:58:29 +0000 (15:58 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 5 Dec 2001 15:58:29 +0000 (15:58 +0000)
commit698da02d3b0ce3364dc4e9bd61a47d73ca4e74a7
treee6ff553bcd27708b591f1d6e3ef5bb95accb09af
parent244e761fbf965a87dadb2e6720d1e68acdf4d7d3
Separate the script portion from the library portion; everything that
pertains to the script is now in the if __name__ == "__main__" block.
This is in response to a commenton python-dev from Neal Norwitz.
Lib/mimetypes.py