From 46796f3413922d80f452871d9866d27b806f73da Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Mon, 25 Jun 2012 22:09:52 +0000 Subject: [PATCH] merging current boost/python and libs/python from trunk into release branch [SVN r79096] --- doc/tutorial/doc/html/python/functions.html | 4 ++-- doc/tutorial/doc/tutorial.qbk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/tutorial/doc/html/python/functions.html b/doc/tutorial/doc/html/python/functions.html index ca869d18..ddd5bc7b 100644 --- a/doc/tutorial/doc/html/python/functions.html +++ b/doc/tutorial/doc/html/python/functions.html @@ -372,8 +372,8 @@ Namespaces are one honking great idea -- let's do more of those! or writing thin wrappers:

// write "thin wrappers"
-int f1(int x) { f(x); }
-int f2(int x, double y) { f(x,y); }
+int f1(int x) { return f(x); }
+int f2(int x, double y) { return f(x,y); }
 
 /*...*/
 
diff --git a/doc/tutorial/doc/tutorial.qbk b/doc/tutorial/doc/tutorial.qbk
index 204c5004..10a45220 100644
--- a/doc/tutorial/doc/tutorial.qbk
+++ b/doc/tutorial/doc/tutorial.qbk
@@ -901,8 +901,8 @@ wrapping as outlined in the [link python.overloading previous section], or
 writing thin wrappers:
 
     // write "thin wrappers"
-    int f1(int x) { f(x); }
-    int f2(int x, double y) { f(x,y); }
+    int f1(int x) { return f(x); }
+    int f2(int x, double y) { return f(x,y); }
 
     /*...*/