Skip to content

Forbid the usage of not a in b #3509

@Eclips4

Description

@Eclips4

Python due to historical usage allows the usage of not a in b, which actually means a not in b. The syntax not a in b seems weird to me, and some users might read it as (not a) in b or even not (a in b). I propose forbidding this syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions