pygame.Surface() takes a Tuple[int, int] representing the width and height of a surface, according to its own documentation, located here: pygame.Surface — pygame v2.1.1 documentation
The program runs as intended with these parameters.
My best guess here is that we're somehow not picking up the signature of pygame.Surface correctly (which, as far as I can tell, is implemented in C).
It may also be something else that is confusing the analysis (since it refers to the imported Surface function as "function lambda", which doesn't make much sense).
Since this is not a security-related question, and as we're currently focusing on improving our security analysis, we'll add this to the backlog and deal with it in due course.
pygame.Surface() takes a Tuple[int, int] representing the width and height of a surface, according to its own documentation, located here: pygame.Surface — pygame v2.1.1 documentation
The program runs as intended with these parameters.
URL to the alert on the project page on LGTM.com:
https://lgtm.com/projects/g/eforgacs-games/Dragon_Warrior/snapshot/1eeb90fbf09ea8997b24acec694fa7f87a097755/files/data/text/dialog.py?sort=name&dir=ASC&mode=heatmap#x122458cab8b662ed:1
The text was updated successfully, but these errors were encountered: