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

Add Type Hints for Slices __getitem__ #281

Open
maaft opened this issue Jun 10, 2022 · 1 comment
Open

Add Type Hints for Slices __getitem__ #281

maaft opened this issue Jun 10, 2022 · 1 comment

Comments

@maaft
Copy link

maaft commented Jun 10, 2022

Without type hints, auto-completion does not work when indexing slices

The solution would be to add following type hints to all generated Slice_Ptr_* classes
image

@rcoreilly
Copy link
Member

this should be a relatively straightforward thing to add..

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

No branches or pull requests

2 participants