Josh Rosenberg <shadowranger+pyt...@gmail.com> added the comment:

Looks like a bug in the typeshed (which mypy depends on to provide typing info 
for most of the stdlib, which isn't explicitly typed). Affects both 
combinations and combinations_with_replacement from a quick check of the code: 
https://github.com/python/typeshed/blob/94485f9e4f86df143801c1810a58df993b2b79b3/stdlib/3/itertools.pyi#L103

Presumably this should be opened on the typeshed tracker. 
https://github.com/python/typeshed/issues

----------
nosy: +josh.r

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35006>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to