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

This could be divmod instead of explicit code #1

Open
shapr opened this issue Feb 7, 2021 · 0 comments
Open

This could be divmod instead of explicit code #1

shapr opened this issue Feb 7, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@shapr
Copy link
Owner

shapr commented Feb 7, 2021

bloohm/code.py

Line 34 in d262ae8

x = ival % trellis.pixels.width

This code is pretty close to the standard divmod function in Python. The code would be simpler if divmod were used.

@shapr shapr added the good first issue Good for newcomers label Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant