mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 17:32:55 +00:00
Compare commits
1 Commits
boost-1.34
...
svn-branch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71f54cc920 |
BIN
build/Attic/python_v1.zip
Normal file
BIN
build/Attic/python_v1.zip
Normal file
Binary file not shown.
@@ -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
BIN
example/project.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user