Skip to content

Conversation

@InvincibleRMC
Copy link
Contributor

Adds more known types for stubgenc when it is a c module.

Comment on lines +263 to +264
"TypeIs",
"TypeGuard",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are TypeIs, TypeGuard, Never and NoReturn common in c extensions? If they are not commonly used I think it is better to leave them out.

Comment on lines +267 to +268
"os": ["PathLike"],
"pathlib": ["Path"],
Copy link
Collaborator

@hamdanal hamdanal Dec 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it is easy enough please add a test for things imported from modules other than typing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants