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

Wrong value returned from xor function in fandango module #26

@John-James-Rambo

Description

@John-James-Rambo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions