Skip to content

One of the examples uses the 'list' anti-pattern #159

@Gotoro

Description

@Gotoro

https://docs.quantifiedcode.com/python-anti-patterns/correctness/else_clause_on_loop_without_a_break_statement.html

The method def contains_magic_number(list, magic_number): uses list as one of the parameters, which redefines the default Python list method.

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