Commit 266bb136 authored by robertwb's avatar robertwb

Merge pull request #60 from Gordin/master

Wrong Example in "Sharing Declarations Between Cython Modules"
parents f3f5cd7e 699bc1ec
......@@ -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