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

Fix documentation for cppclass static methods.

Closes #1438.
parent b8f32790
......@@ -612,6 +612,8 @@ 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":
cdef cppclass Rectangle:
...
@staticmethod
void do_something()
......
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