[issue35297] untokenize documentation is not correct

2019-10-16 Thread Zachary McCord
Zachary McCord added the comment: I think anyone using the tokenize module to programmatically edit python source wants to use and probably does use the undocumented behavior, which should then be documented. I ran into this issue because for me this manifested as a crash: $ python3 >>>

[issue35297] untokenize documentation is not correct

2019-04-18 Thread Utkarsh Gupta
Utkarsh Gupta added the comment: I am not sure if that's a documentation problem, is it? If so, I'll be happy to send a PR :) -- nosy: +utkarsh2102 ___ Python tracker ___

[issue35297] untokenize documentation is not correct

2019-04-16 Thread Caleb Donovick
Change by Caleb Donovick : -- nosy: +donovick ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35297] untokenize documentation is not correct

2018-11-22 Thread Zsolt Cserna
Change by Zsolt Cserna : -- versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35297] untokenize documentation is not correct

2018-11-22 Thread Zsolt Cserna
New submission from Zsolt Cserna : untokenize documentation (https://docs.python.org/3/library/tokenize.html#tokenize.untokenize) states the following: """ Converts tokens back into Python source code. The iterable must return sequences with at least two elements, the token type and the