Commit 41f7a2a8 authored by Gordin's avatar Gordin

fixed wrong example-code

--HG--
extra : transplant_source : %983%5Bf%94%87%04%1D%ABS%A2%A2%F1%FA%AEp%95h%A1/
parent 2ab39827
......@@ -85,7 +85,7 @@ exactly parallels that of the normal Python import statement:
<tt>&nbsp;&nbsp;&nbsp; print "%d oz spam, filler no. %d" % \</tt>
<br>
<tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (d-&gt;oz_of_spam,
d-&gt;otherstuff)</tt></p>
d-&gt;filler)</tt></p>
</td>
</tr>
</tbody> </table>
......@@ -198,4 +198,4 @@ need to <tt>import Shrubbing</tt>.</li>
<hr width="100%">Back to the <a href="overview.html">Language Overview</a>
<br>
<br>
</body></html>
\ No newline at end of file
</body></html>
......@@ -96,7 +96,7 @@ uses it.
def serve():
cdef spamdish d
prepare(&d)
print "%d oz spam, filler no. %d" % (d.oz_of_spam, d.otherstuff)
print "%d oz spam, filler no. %d" % (d.oz_of_spam, d.filler)
It is important to understand that the :keyword:`cimport` statement can only
be used to import C data types, C functions and variables, and extension
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment