Skip to content

Removed a case of the manual indexer pitfall#118

Open
NaelsonDouglas wants to merge 1 commit intothunil:masterfrom
python-pitfalls:master
Open

Removed a case of the manual indexer pitfall#118
NaelsonDouglas wants to merge 1 commit intothunil:masterfrom
python-pitfalls:master

Conversation

@NaelsonDouglas
Copy link

Problem:
There was a part on the code which was implemented using the manual iterator pitfall. It was detected using Pylint, under the code C0200.
https://vald-phoenix.github.io/pylint-errors/plerr/errors/refactoring/C0200.html

Solution:
Applied a simple refactoring to remove it.

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.

1 participant