Skip to content

Conversation

@AlexanderJCS
Copy link

Suggestion: In the line_image I use integer division to allow compatibility with Python 3. This change is needed because, in Python 3, an integer divided by an integer produces a float. Compatibility with Python 2 is not affected.

Use integer division to allow compatibility with Python 3
@AlexanderJCS AlexanderJCS changed the title Use integer division when indexing Suggestion: use integer division when indexing to allow Python 3 compatibility while maintaining Python 2 compatibility Mar 23, 2025
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