Skip to content

button is 'x' #2

@MikeTheWatchGuy

Description

@MikeTheWatchGuy

I have sadly created terrible examples 👎

I should have never posted code that has:
button is 'x'

The only time I should be using is is with None

I thought it always worked on literal strings, but alas, I got BURNED on it badly. It doesn't work. I made a bad mistake and still haven't cleaned it up very well.

While your program will work, I suggest changing the is to ==.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions