Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed wrong example-code

  • Loading branch information...
commit 699bc1ec74f238cd3ea5b515d4e7c759a944814d 1 parent f3f5cd7
Andreas Guth Gordin authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 Doc/sharing.html
  2. +1 −1  docs/src/userguide/sharing_declarations.rst
4 Doc/sharing.html
View
@@ -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>
2  docs/src/userguide/sharing_declarations.rst
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.