Skip to content

Deprecation Warning in GUI.py #15

Description

@g-paras

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions