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

src/__init__.py:Document.__get_item__(): improve annotations. #3750

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

julian-smith-artifex-com
Copy link
Collaborator

Improve typing using @typing.overload - we accept page, (chapter, page) or slice.

This addresses #3706.

Improve typing using @typing.overload - we accept `page`, `(chapter, page)` or
`slice`.

This addresses #3706.
@julian-smith-artifex-com julian-smith-artifex-com merged commit afff7b5 into main Aug 5, 2024
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants