Skip to content

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

Closed

Description

@klausweiss

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. gvanrossum commented on Sep 11, 2017

    @gvanrossum
    Member

    Please file typeshed bugs in the https://github.com/python/typeshed project. You're also welcome to submit a PR without first filing a bug!

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