We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a07a01 commit 1e6bc3aCopy full SHA for 1e6bc3a
Lib/tokenize.py
@@ -327,6 +327,7 @@ def untokenize(iterable):
327
"""Transform tokens back into Python source code.
328
It returns a bytes object, encoded using the ENCODING
329
token, which is the first token sequence output by tokenize.
330
+ If there is no encoding token in the input, it returns a str instead.
331
332
Each element returned by the iterable must be a token sequence
333
with at least two elements, a token number and token value. If
0 commit comments