mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Merge a8a11e05d7 into 7099af8f5e
This commit is contained in:
commit
a2eaf92a22
1 changed files with 1 additions and 0 deletions
|
|
@ -327,6 +327,7 @@ def untokenize(iterable):
|
||||||
"""Transform tokens back into Python source code.
|
"""Transform tokens back into Python source code.
|
||||||
It returns a bytes object, encoded using the ENCODING
|
It returns a bytes object, encoded using the ENCODING
|
||||||
token, which is the first token sequence output by tokenize.
|
token, which is the first token sequence output by tokenize.
|
||||||
|
If there is no encoding token in the input, it returns a str instead.
|
||||||
|
|
||||||
Each element returned by the iterable must be a token sequence
|
Each element returned by the iterable must be a token sequence
|
||||||
with at least two elements, a token number and token value. If
|
with at least two elements, a token number and token value. If
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue