Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Wrong value returned from xor function in fandango module #26

Open
John-James-Rambo opened this issue Apr 20, 2021 · 0 comments
Open

Wrong value returned from xor function in fandango module #26

John-James-Rambo opened this issue Apr 20, 2021 · 0 comments

Comments

@John-James-Rambo
Copy link

In some cases functional.xor function returns boolean instead of argument.

from fandango import functional
functional.xor(0, 2)

returns 2 but:

from fandango import functional
functional.xor(2, 0)

returns True

from fandango import functional
functional.xor(2, 2)

returns False

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant