79235642

Date: 2024-11-29 01:41:21
Score: 0.5
Natty:
Report link

Try using annotations package, described here.

Change your code to the following:

from __future__ import annotations

class MyClass:
    def compare(self, other: MyClass):
        pass

Also, there is a helpful tutorial here.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jason Snouffer