Skip to content

is_iterator doctest incorrect for list #31291

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

Closed
jbrockmendel opened this issue Jan 24, 2020 · 1 comment
Closed

is_iterator doctest incorrect for list #31291

jbrockmendel opened this issue Jan 24, 2020 · 1 comment

Comments

@jbrockmendel
Copy link
Member

The docstring and doctest say that lists are considered iterators, but isiterator([1, 2, 3]) (one of the docstring examples) returns False (which I think is a more useful behavior.

Is this doctest not run?

@jbrockmendel
Copy link
Member Author

closed by #31294.

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 a pull request may close this issue.

1 participant