Skip to content

Conversation

vrih
Copy link
Contributor

@vrih vrih commented Jan 2, 2018

codecs.iterencode and codecs.iterdecode should both return Generators
rather than Iterators

codecs.iterencode and codecs.iterdecode should both return Generators
rather than Iterators
@@ -4,6 +4,7 @@ import sys
from typing import (
BinaryIO,
Callable,
Generator,
IO,
Iterable,
Iterator,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this import still necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I assume you're asking if Iterator is still required. Seem's you're right that it isn't but my linter didn't pick it up. Submitting another commit to remove.

@matthiaskramm matthiaskramm merged commit bb8b9bd into python:master Jan 2, 2018
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.

2 participants