Skip to content

Constant.__repr__ should be updated to say 'uncertainty' not 'error' and 'unit' not 'units' #4145

Description

@astrofrog

As highlighted in this StackOverflow question, it's a bit confusing that the uncertainty on constants is referred to as 'uncertainty' when accessed as an attribute but 'error' in the repr (similarly 'units' in repr vs 'unit' as attribute). We should update __repr__ to show unit= and uncertainty=.

Activity

  1. mhvk commented on Sep 12, 2015

    @mhvk
    Contributor

    closed by #4147

  2. added this to the v1.0.5 milestone on Sep 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions