mailr15943 - /branches/uf_redesign/prompt/help.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 03, 2012 - 23:20:
Author: bugman
Date: Thu May  3 23:20:26 2012
New Revision: 15943

URL: http://svn.gna.org/viewcvs/relax?rev=15943&view=rev
Log:
The relax prompt help system is now being passed through pydoc.pager to page 
the text.

This system will be used by the auto-generated user functions.


Modified:
    branches/uf_redesign/prompt/help.py

Modified: branches/uf_redesign/prompt/help.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/prompt/help.py?rev=15943&r1=15942&r2=15943&view=diff
==============================================================================
--- branches/uf_redesign/prompt/help.py (original)
+++ branches/uf_redesign/prompt/help.py Thu May  3 23:20:26 2012
@@ -75,7 +75,7 @@
 
         # The relax help system.
         if hasattr(args[0], '__relax_help__'):
-            sys.stdout.write(args[0].__relax_help__ + "\n")
+            pydoc.pager(args[0].__relax_help__)
             return
 
         # Default to the normal Python help system.




Related Messages


Powered by MHonArc, Updated Fri May 04 09:00:02 2012