brython-dev / brython

Brython (Browser Python) is an implementation of Python 3 running in the browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Non standard behavior of the `in` operator

hardcore-sushi opened this issue · comments

I noticed that the following returns False in Brython, while it returns True in CPython:

"\n" in {"\n"}

Is this a desired behavior?

Thanks for the bug report @hardcore-sushi !