Skip to content

[CODE-DOC] replace attribute=Component.UNDEFINED by default values #1251

Closed

Description

@MM-Lehmann

When displaying the inline code documentation, it is very hard to read through all those Component.UNDEFINED attribute defaults. Could we not replace those by their default values or None? At least with a repr() of some kind?
Or is this just me with PyCharm?

Activity

  1. chriddyp commented on Sep 11, 2020

    @chriddyp
    Member

    We can't actually use None or default values because explicitly providing None is different than not providing any value at all. For context, see this PR that introduced Component.UNDEFINED: #276

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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