commit | dc8b7980e04f03f028493f0b060e2a0e0ccbe769 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Mar 27 19:29:31 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Mar 27 19:29:31 2000 +0000 |
tree | 62f6872778e4184989479030dcd52a5b559aff05 | |
parent | 0c3baaf19c7d6a112a00ad36e31fe7a142b91542 [diff] |
Skip Montanaro: The robotparser.py module currently lives in Tools/webchecker. In preparation for its migration to Lib, I made the following changes: * renamed the test() function _test * corrected the URLs in _test() so they refer to actual documents * added an "if __name__ == '__main__'" catcher to invoke _test() when run as a main program * added doc strings for the two main methods, parse and can_fetch * replaced usage of regsub and regex with corresponding re code