2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 17:32:55 +00:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Stefan Seefeld
71f54cc920 Fix ticket #1115.
[SVN r38288]
2007-07-26 14:41:41 +00:00
3 changed files with 2 additions and 2 deletions

BIN
build/Attic/python_v1.zip Normal file

Binary file not shown.

View File

@@ -127,7 +127,7 @@ void greet()
// 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 @@ void greet()
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>

BIN
example/project.zip Normal file

Binary file not shown.