Skip to content

TYP: returning None for __init__ #46337

Closed
@jreback

Description

@jreback

xref #44677 (comment)

we originally had a decision not to type annotate returning None for init

can other folks weigh in here? We have a number of PRs which do exactly this (I merged one or 2 then saw the comments)
e.g. #46283 and a few others.

cc @simonjayhawkins @twoertwein @Dr-Irv @phofl

Metadata

Metadata

Assignees

No one assigned

    Labels

    Typingtype annotations, mypy/pyright type checking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions