mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-129020: Remove ambiguous sentence from tokenize.untokenize
docs (#129021)
This commit is contained in:
parent
3b6a27c560
commit
bca35f0e78
1 changed files with 4 additions and 5 deletions
|
@ -91,11 +91,10 @@ write back the modified script.
|
|||
sequences with at least two elements, the token type and the token string.
|
||||
Any additional sequence elements are ignored.
|
||||
|
||||
The reconstructed script is returned as a single string. The result is
|
||||
guaranteed to tokenize back to match the input so that the conversion is
|
||||
lossless and round-trips are assured. The guarantee applies only to the
|
||||
token type and token string as the spacing between tokens (column
|
||||
positions) may change.
|
||||
The result is guaranteed to tokenize back to match the input so that the
|
||||
conversion is lossless and round-trips are assured. The guarantee applies
|
||||
only to the token type and token string as the spacing between tokens
|
||||
(column positions) may change.
|
||||
|
||||
It returns bytes, encoded using the :data:`~token.ENCODING` token, which
|
||||
is the first token sequence output by :func:`.tokenize`. If there is no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue