Update of /cvsroot/boost/boost/libs/python/doc/v2
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25758

Modified Files:
      Tag: RC_1_34_0
        exec.html 
Log Message:
Fix ticket #1115.

Index: exec.html
===================================================================
RCS file: /cvsroot/boost/boost/libs/python/doc/v2/exec.html,v
retrieving revision 1.2.4.2
retrieving revision 1.2.4.3
diff -u -d -r1.2.4.2 -r1.2.4.3
--- exec.html   18 May 2007 15:54:25 -0000      1.2.4.2
+++ exec.html   26 Jul 2007 14:41:41 -0000      1.2.4.3
@@ -127,7 +127,7 @@
 
   // Define greet function in Python.
   object result = exec(
-    "def greet(self):               \n"
+    "def greet():                   \n"
     "   return 'Hello from Python!' \n",
     global, global);
 
@@ -144,7 +144,7 @@
       we could also store it in an a file...</para>
 
 <pre>
-def greet(self):
+def greet():
    return 'Hello from Python!'
 </pre>
     <para>... and execute that instead.</para>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to