Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed wrong example-code

  • Loading branch information...
commit 699bc1ec74f238cd3ea5b515d4e7c759a944814d 1 parent f3f5cd7
Andreas Guth authored August 30, 2011
4  Doc/sharing.html
@@ -85,7 +85,7 @@
85 85
        <tt>&nbsp;&nbsp;&nbsp; print "%d oz spam, filler no. %d" % \</tt>
86 86
       <br>
87 87
        <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (d-&gt;oz_of_spam,
88  
- d-&gt;otherstuff)</tt></p>
  88
+ d-&gt;filler)</tt></p>
89 89
        </td>
90 90
   </tr>
91 91
       </tbody> </table>
@@ -198,4 +198,4 @@
198 198
    <hr width="100%">Back to the <a href="overview.html">Language Overview</a>
199 199
 <br>
200 200
  <br>
201  
-</body></html>
  201
+</body></html>
2  docs/src/userguide/sharing_declarations.rst
Source Rendered
@@ -96,7 +96,7 @@ uses it.
96 96
     def serve():
97 97
         cdef spamdish d
98 98
         prepare(&d)
99  
-        print "%d oz spam, filler no. %d" % (d.oz_of_spam, d.otherstuff)
  99
+        print "%d oz spam, filler no. %d" % (d.oz_of_spam, d.filler)
100 100
                                
101 101
 It is important to understand that the :keyword:`cimport` statement can only
102 102
 be used to import C data types, C functions and variables, and extension

0 notes on commit 699bc1e

Please sign in to comment.
Something went wrong with that request. Please try again.