Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
266bb136
Commit
266bb136
authored
Aug 30, 2011
by
robertwb
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #60 from Gordin/master
Wrong Example in "Sharing Declarations Between Cython Modules"
parents
f3f5cd7e
699bc1ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Doc/sharing.html
Doc/sharing.html
+2
-2
docs/src/userguide/sharing_declarations.rst
docs/src/userguide/sharing_declarations.rst
+1
-1
No files found.
Doc/sharing.html
View file @
266bb136
...
...
@@ -85,7 +85,7 @@ exactly parallels that of the normal Python import statement:
<tt>
print "%d oz spam, filler no. %d" % \
</tt>
<br>
<tt>
(d-
>
oz_of_spam,
d-
>
otherstuff
)
</tt></p>
d-
>
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>
docs/src/userguide/sharing_declarations.rst
View file @
266bb136
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment