python / typeshed

Collection of library stubs for Python, with static types
Other
4.39k stars 1.77k forks source link

Allow any sequence as getopt args #13116

Open Avasam opened 4 days ago

Avasam commented 4 days ago

Whilst trying to type setuptools/distutils' Distribution.script_args and the script_args arg of setup for https://github.com/python/typeshed/issues/12595, I noticed that this argument could be made more flexible as to allow any sequence.

github-actions[bot] commented 4 days ago

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉