Skip to content

No overload variant of "list" matches argument types [shlex.shlex] #1761

Closed

Description

@MatthieuBizien

From python/mypy#3941

I am using shlex.shlex class as in the documentation:

list(shlex(string, posix=True, punctuation_chars=True))

but I get:

main.py:10: error: No overload variant of "list" matches argument types [shlex.shlex]

I'm running mypy with:

mypy main.py --ignore-missing-imports --python-version 3.6

OS X El Capitan 10.11.6
mypy 0.521

Activity

  1. srittau commented on Sep 11, 2018

    @srittau
    Collaborator

    This was fixed in #2120.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions