Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

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

Merged
yevgenypats merged 1 commit into
fuzzitdev:masterfrom
jvoisin:simplify_init
Dec 18, 2019
Merged

Simplify a bit the code for the Corpus' constructor#5
yevgenypats merged 1 commit into
fuzzitdev:masterfrom
jvoisin:simplify_init

Conversation

@jvoisin

@jvoisin jvoisin commented Dec 16, 2019

Copy link
Copy Markdown
Contributor
  • 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 simplify_init branch December 18, 2019 19:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants