changeset 658:c2e89dafa397

add __all__
author Jeff Hammel <k0scist@gmail.com>
date Wed, 02 Apr 2014 11:04:47 -0700
parents 60952012be78
children e5be32fea639
files .emacs
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.emacs	Sun Mar 30 18:27:53 2014 -0700
+++ b/.emacs	Wed Apr 02 11:04:47 2014 -0700
@@ -160,11 +160,13 @@
 import subprocess
 import sys
 
+__all__ = ['main']
 here = os.path.dirname(os.path.realpath(__file__))
 string = (str, unicode)
 
 def main(args=sys.argv[1:]):
 
+    # parse command line
     parser = argparse.ArgumentParser(description=__doc__)
     parser.add_argument('input', nargs='?',
                         type=argparse.FileType('r'), default=sys.stdin,