hasii2011 / pyut

A UML Diagrammer implemented in Python
GNU Affero General Public License v3.0
12 stars 4 forks source link

Fix old python 2.x syntax in UMLFrame #392

Closed hasii2011 closed 2 years ago

hasii2011 commented 2 years ago

Syntax like this:

DiagramFrame.OnLeftDown(self, event)

should be

super().OnLeftDown(event)

Additionally, put in types for method parameters

hasii2011 commented 2 years ago

Done on the 🤡 master 🤡 branch