Commits

Anonymous committed aecd001

handle interactive help function better

Comments (0)

Files changed (2)

 
 ... especially if you're going back to edit a previous "python -me" command
 using line editing.
+
+Also, "python -me help" is a shortcut to Python's interactive help mechanism.
 """
 
 import os
 import sys
 import subprocess
-import webbrowser
 
 
 def execute(arg):
         return
 
     if args[0] == 'help':
-        webbrowser.open('http://docs.python.org')
-        return
+        help()
 
     fn = locate(args[0])
     if fn is None:
 
 setup(
     name="e",
-    version='1.4.2',
+    version='1.4.3',
     description='''Evaluate and display command line expressions with
         python -me expr''',
     long_description=u'\n'.join(e.__doc__.splitlines()[1:]),