From 286d74764ef5fa9aac2f5106dc65834e8309a810 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Wed, 9 Nov 2005 07:07:58 +0000 Subject: SF Bug #1348477, regextest can't be pydoc'ed. Will backport. --- Demo/comparisons/regextest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- cgit v0.12