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

Simplify a bit the code for the Corpus' constructor #5

Merged
merged 1 commit into from Dec 18, 2019

Conversation

@jvoisin
Copy link
Contributor

jvoisin commented Dec 16, 2019

  • Ternaries are simplifies
  • len(…) > 0 isn't pythonic and can be simplified as well
  • Check on a member that has been initialised right before can be constified
- Ternaries are simplifies
- `len(…) > 0` isn't pythonic and can be simplified as well
- Check on a member that has been initialised right before can be constified
@jvoisin jvoisin changed the title Simplify a bit the code for the Corpus; constructor Simplify a bit the code for the Corpus' constructor Dec 16, 2019
@yevgenypats yevgenypats merged commit 0cba5cf into fuzzitdev:master Dec 18, 2019
@jvoisin jvoisin deleted the jvoisin:simplify_init branch Dec 18, 2019
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

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