2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-20 16:52:15 +00:00

libs/python/doc/tutorial/doc/tutorial.qbk: fixing small oversight (issue #5574)

[SVN r72220]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2011-05-27 17:11:44 +00:00
parent 201c100422
commit 4df7f1c247
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,7 @@
<p>
</p>
<pre class="programlisting"><span class="special">&gt;&gt;&gt;</span> <span class="keyword">import</span> <span class="identifier">hello_ext</span>
<span class="special">&gt;&gt;&gt;</span> <span class="keyword">print</span> <span class="identifier">hello</span><span class="special">.</span><span class="identifier">greet</span><span class="special">()</span>
<span class="special">&gt;&gt;&gt;</span> <span class="keyword">print</span> <span class="identifier">hello_ext</span><span class="special">.</span><span class="identifier">greet</span><span class="special">()</span>
<span class="identifier">hello</span><span class="special">,</span> <span class="identifier">world</span>
</pre>
<p>

View File

@@ -62,7 +62,7 @@ resulting DLL is now visible to Python. Here's a sample Python session:
[python]
>>> import hello_ext
>>> print hello.greet()
>>> print hello_ext.greet()
hello, world
[c++]