Skip to content
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

Adapt generation of callable names to be able to detect built-in functionstions #7

Merged
merged 1 commit into from
Aug 12, 2022
Merged

Adapt generation of callable names to be able to detect built-in functionstions #7

merged 1 commit into from
Aug 12, 2022

Conversation

tobiasah
Copy link
Contributor

@tobiasah tobiasah commented Aug 9, 2022

I have noticed that build-in functions (C-defined functions) are not detected by stubdoc.

This is due to the inspect.isfunction is used which does not include build-in functions. Switching it to inspect.isroutine solves this issue. It includes both python functions and build-in functions.

@simon-ritchie
Copy link
Owner

Hi @tobiasah

Thanks a lot for sending that PR!
I've merged and released v0.1.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants