Skip to content

BUG: Check for equality, not for identity#224

Merged
alanhamlett merged 1 commit intoJazzCore:masterfrom
niklasb:master
Sep 14, 2023
Merged

BUG: Check for equality, not for identity#224
alanhamlett merged 1 commit intoJazzCore:masterfrom
niklasb:master

Conversation

@martin-thoma
Copy link

>>> a = "file"
>>> b = "fi"
>>> c = "le"
>>> a == b+c
True
>>> a is b+c
False

@alanhamlett alanhamlett merged commit 4e188ee into JazzCore:master Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants