mailr15797 - /1.3/ansi.py


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

Header


Content

Posted by edward on April 23, 2012 - 12:37:
Author: bugman
Date: Mon Apr 23 12:37:57 2012
New Revision: 15797

URL: http://svn.gna.org/viewcvs/relax?rev=15797&view=rev
Log:
Docstring completion for the ansi.enable_control_chars() function.


Modified:
    1.3/ansi.py

Modified: 1.3/ansi.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/ansi.py?rev=15797&r1=15796&r2=15797&view=diff
==============================================================================
--- 1.3/ansi.py (original)
+++ 1.3/ansi.py Mon Apr 23 12:37:57 2012
@@ -46,7 +46,7 @@
 def enable_control_chars(stream=1):
     """Helper function for determining if control characters should be 
printed to the IO streams.
 
-    This uses both the sys.std*.isatty() methods as well as the operating 
system.  Control characters are only shown on GNU/Linux and Mac OS X (or 
technically they are disabled on MS Windows.
+    This uses both the sys.std*.isatty() methods as well as the operating 
system.  Control characters are only shown on GNU/Linux and Mac OS X (or 
technically they are disabled on MS Windows as both cmd and the PowerShell do 
not support the ANSI characters).
 
 
     @keyword stream:    The stream to check.  The value of 0 corresponds to 
STDIN, 1 corresponds to STDOUT, and 2 corresponds to STDERR.




Related Messages


Powered by MHonArc, Updated Mon Apr 23 13:40:01 2012