Skip to content

Assignment Expressions #3865

Closed
Closed
@da-dada

Description

@da-dada

if (init := getattr(inst, 'init', None)) and callable(init): gives E0601 Using variable 'init' before assignment and E1102 'init' is not callable ('inst' is a given instance and 'init' a method of it)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions