Permalink
Browse files

fixed wrong example-code

  • Loading branch information...
1 parent f3f5cd7 commit 699bc1ec74f238cd3ea5b515d4e7c759a944814d @Gordin Gordin committed Aug 30, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 Doc/sharing.html
  2. +1 −1 docs/src/userguide/sharing_declarations.rst
View
4 Doc/sharing.html
@@ -85,7 +85,7 @@
<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 @@
<hr width="100%">Back to the <a href="overview.html">Language Overview</a>
<br>
<br>
-</body></html>
+</body></html>
View
2 docs/src/userguide/sharing_declarations.rst
@@ -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

0 comments on commit 699bc1e

Please sign in to comment.