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

Added alternative implementation for Iterator pattern using the Iterator protocol #320

Merged
merged 1 commit into from Feb 12, 2020

Conversation

@sevetseh28
Copy link
Contributor

@sevetseh28 sevetseh28 commented Feb 11, 2020

In this PR I add the alternative version on how to implement the Iterator pattern using the Iterator protocol from Python. I followed the same example in the original version so that they can be easily compared.

@sevetseh28 sevetseh28 requested a review from faif Feb 11, 2020
@codecov-io
Copy link

@codecov-io codecov-io commented Feb 11, 2020

Codecov Report

Merging #320 into master will decrease coverage by 0.41%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #320      +/-   ##
==========================================
- Coverage   30.57%   30.15%   -0.42%     
==========================================
  Files          38       39       +1     
  Lines        1243     1260      +17     
==========================================
  Hits          380      380              
- Misses        863      880      +17
Impacted Files Coverage Δ
patterns/behavioral/iterator_alt.py 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 937a4ed...2fdbac5. Read the comment docs.

@faif faif merged commit 184b1a4 into faif:master Feb 12, 2020
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.