Commit ca89289c authored by Robert Bradshaw's avatar Robert Bradshaw Committed by GitHub

Fix documentation for cppclass static methods.

Closes #1438.
parent b8f32790
......@@ -612,8 +612,10 @@ If the Rectangle class has a static member:
you can declare it using the Python @staticmethod decorator, i.e.::
cdef extern from "Rectangle.h" namespace "shapes":
@staticmethod
void do_something()
cdef cppclass Rectangle:
...
@staticmethod
void do_something()
Declaring/Using References
......
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