Skip to content

Commit

Permalink
fix: fix parameters not showing in doc bug (#2270)
Browse files Browse the repository at this point in the history
Co-authored-by: yuejiaointel <[email protected]>
  • Loading branch information
yuejiaointel and yuejiaointel authored Jan 24, 2025
1 parent 324ab24 commit 058372f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions generator/wrapper_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1003,12 +1003,11 @@ def __cinit__(self):
# this is our actual algorithm class for Python
cdef class {{algo}}{{'('+iface[0]|lower+'__iface__)' if iface[0] else ''}}:
cdef tuple _params
'''
{{algo}}
{{params_all|fmt('{}', 'sphinx', sep='\n')|indent(4)}}
'''
cdef tuple _params
# Init simply forwards to the C++ construction function
def __cinit__(self,
{{params_all|fmt('{}', 'decl_dflt_cy', sep=',\n')|indent(18)}}):
Expand Down

0 comments on commit 058372f

Please sign in to comment.