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

Modified Files:
        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.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- exec.html   18 May 2007 15:22:43 -0000      1.4
+++ exec.html   26 Jul 2007 16:11:18 -0000      1.5
@@ -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