Skip to content

Add generic aliases for collection types #94

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

KotlinIsland
Copy link
Owner

@KotlinIsland KotlinIsland commented Dec 17, 2023

Comment on lines +564 to +570
dict_keyiterator = _collections_abc.dict_keyiterator # type: ignore[attr-defined]
dict_valueiterator = _collections_abc.dict_valueiterator # type: ignore[attr-defined]
dict_itemiterator = _collections_abc.dict_itemiterator # type: ignore[attr-defined]
list_iterator = _collections_abc.list_iterator # type: ignore[attr-defined]
list_reverseiterator = _collections_abc.list_reverseiterator # type: ignore[attr-defined]
set_iterator = _collections_abc.set_iterator # type: ignore[attr-defined]
tuple_iterator = _collections_abc.tuple_iterator # type: ignore[attr-defined]
Copy link
Collaborator

Choose a reason for hiding this comment

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

these shouldnt be here because they dont exist. if theres a reason to assume theyll exist in the future there should be a comment saying so

@KotlinIsland KotlinIsland force-pushed the master branch 2 times, most recently from 3b2e955 to e7761a1 Compare August 11, 2024 09:24
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.

Export _aliass for dict_keys etc
2 participants