Skip to content

Mapping.{get,pop} can return default type #278

Closed
@gnprice

Description

@gnprice

See #223. That PR was reverted because it caused some type errors that it shouldn't, but it's the right thing to do and we should figure out how to make it work.

@gvanrossum , what did the errors you saw (after python/mypy#1595 was fixed) look like?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions