Skip to content

Unclear documentation for attr.ib's default #53

@salty-horse

Description

@salty-horse
  • Please explain what default=NOTHING means, specifically that it will require the caller to specify a value(?)

  • If the value an instance of Factory, it callable will be use to construct a new value.

    "it callable" feels like a typo. Should probably be "its callabe".

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