-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #7331: autodoc: a cython-function are not recognized as a function #7355
Conversation
1a77acd
to
a46496e
Compare
a46496e
to
6b66a8c
Compare
6b66a8c
to
6320d26
Compare
6320d26
to
dd70d9f
Compare
def foo(*args, **kwargs): | ||
"""Docstring.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coincidentally, this is the only one passed correctly for functions. All pure Python functions defined in Cython has the same signature, e.g. https://mcsinyx.github.io/palace/html/reference.html#palace.sample_size
The definition of those are here: https://github.com/McSinyx/palace/blob/master/src/palace.pyx#L175
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the info. I found my implementation does not work well.
Fix #7355: autodoc: a signature of cython-function is not recognized well
Feature or Bugfix
Purpose