Skip to content

Use ellipsis as default argument value in stubgen-generated stubs #1915

Closed

Description

@JukkaL

Currently the default values can be literals, and this causes problems with pytype.

The literals can make it easier to manually annotate stubs. We could include the same information in generated comments, for example.

See also python/typeshed#377.

Activity

  1. added this to the milestone on Jul 21, 2016
  2. removed this from the milestone on Mar 29, 2017
  3. dmoisset commented on Sep 25, 2017

    @dmoisset
    Contributor

    Note that #3169 also fixed this

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions