Skip to content

button is 'x'#2

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 ==.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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