diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2005-11-09 07:07:58 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2005-11-09 07:07:58 (GMT) |
commit | 286d74764ef5fa9aac2f5106dc65834e8309a810 (patch) | |
tree | 792b465cea1011181258400af4396046c198b5f9 | |
parent | 67715f042096b4f77e359823f2c8d330f2b965b9 (diff) | |
download | cpython-286d74764ef5fa9aac2f5106dc65834e8309a810.zip cpython-286d74764ef5fa9aac2f5106dc65834e8309a810.tar.gz cpython-286d74764ef5fa9aac2f5106dc65834e8309a810.tar.bz2 |
SF Bug #1348477, regextest can't be pydoc'ed. Will backport.
-rwxr-xr-x | Demo/comparisons/regextest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Demo/comparisons/regextest.py b/Demo/comparisons/regextest.py index fbc5f6c..b27d741 100755 --- a/Demo/comparisons/regextest.py +++ b/Demo/comparisons/regextest.py @@ -43,4 +43,5 @@ def main(): def chomp(s): return s.rstrip('\n') -main() +if __name__ == '__main__': + main() |