• WolfLink@sh.itjust.works
    link
    fedilink
    arrow-up
    27
    ·
    7 hours ago

    In Python, self is not a keyword, it’s a conventional variable name. You can replace all instances of “self” with “this” and your code will work the same.