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

Deprecation Warning in GUI.py #15

Open
g-paras opened this issue May 27, 2021 · 0 comments
Open

Deprecation Warning in GUI.py #15

g-paras opened this issue May 27, 2021 · 0 comments

Comments

@g-paras
Copy link

g-paras commented May 27, 2021

Sudoku-GUI-Solver/GUI.py

Lines 60 to 61 in d02ece8

pygame.draw.line(self.win, (0,0,0), (0, i*gap), (self.width, i*gap), thick)
pygame.draw.line(self.win, (0, 0, 0), (i * gap, 0), (i * gap, self.height), thick)

In addition to Line 60 and 61 there are 6 other Deprecation Warning in the same file.

DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, 
and may be removed in a future version of Python. 
pygame.draw.line(self.win, (0,0,0), (0, i*gap), (self.width, i*gap),  thick)
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

No branches or pull requests

1 participant