• ryedaft@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    5
    ·
    9 hours ago

    Underscore alone is a special variable name and I’m pretty sure anything assigned to it goes straight to garbage collection. Whereas _myvariable is typically use to indicate a “private” class variable or method (Python doesn’t have private so it’s just a convention).