mailr10322 - /1.3/prompt/interpreter.py


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

Header


Content

Posted by edward on January 25, 2010 - 19:11:
Author: bugman
Date: Mon Jan 25 19:11:59 2010
New Revision: 10322

URL: http://svn.gna.org/viewcvs/relax?rev=10322&view=rev
Log:
Alphabetical ordering of methods.


Modified:
    1.3/prompt/interpreter.py

Modified: 1.3/prompt/interpreter.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/prompt/interpreter.py?rev=10322&r1=10321&r2=10322&view=diff
==============================================================================
--- 1.3/prompt/interpreter.py (original)
+++ 1.3/prompt/interpreter.py Mon Jan 25 19:11:59 2010
@@ -225,6 +225,34 @@
         return objects
 
 
+    def off(self, verbose=True):
+        """Turn the function introductions off.
+
+        @keyword verbose:   A flag which when True results in a print out 
message being displayed.
+        @type verbose:      bool
+        """
+
+        self.exec_info.intro = False
+
+        # Print out.
+        if verbose:
+            print("Echoing of user function calls has been disabled.")
+
+
+    def on(self, verbose=True):
+        """Turn the function introductions on.
+
+        @keyword verbose:   A flag which when True results in a print out 
message being displayed.
+        @type verbose:      bool
+        """
+
+        self.exec_info.intro = True
+
+        # Print out.
+        if verbose:
+            print("Echoing of user function calls has been enabled.")
+
+
     def populate_self(self):
         """Place all user functions and other special objects into self."""
 
@@ -266,34 +294,6 @@
         # Go to the prompt.
         else:
             prompt(intro=self.__intro_string, local=locals())
-
-
-    def off(self, verbose=True):
-        """Turn the function introductions off.
-
-        @keyword verbose:   A flag which when True results in a print out 
message being displayed.
-        @type verbose:      bool
-        """
-
-        self.exec_info.intro = False
-
-        # Print out.
-        if verbose:
-            print("Echoing of user function calls has been disabled.")
-
-
-    def on(self, verbose=True):
-        """Turn the function introductions on.
-
-        @keyword verbose:   A flag which when True results in a print out 
message being displayed.
-        @type verbose:      bool
-        """
-
-        self.exec_info.intro = True
-
-        # Print out.
-        if verbose:
-            print("Echoing of user function calls has been enabled.")
 
 
     def script(self, file=None, quit=False):




Related Messages


Powered by MHonArc, Updated Mon Jan 25 19:40:02 2010