diff options
author | Ka-Ping Yee <ping@zesty.ca> | 2001-01-24 17:19:08 (GMT) |
---|---|---|
committer | Ka-Ping Yee <ping@zesty.ca> | 2001-01-24 17:19:08 (GMT) |
commit | fa004ad36c86f4af406cfa3a84ec8b6cb391e6dd (patch) | |
tree | 61544d6bc2f118d4187cfc4887711f728d0fb7cf /Doc/lib/libparser.tex | |
parent | 726b78ecb8660278399abaf36f98dec56ecf1271 (diff) | |
download | cpython-fa004ad36c86f4af406cfa3a84ec8b6cb391e6dd.zip cpython-fa004ad36c86f4af406cfa3a84ec8b6cb391e6dd.tar.gz cpython-fa004ad36c86f4af406cfa3a84ec8b6cb391e6dd.tar.bz2 |
Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.
Switch from octal escapes to hex escapes for other nonprintable characters.
Diffstat (limited to 'Doc/lib/libparser.tex')
-rw-r--r-- | Doc/lib/libparser.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libparser.tex b/Doc/lib/libparser.tex index 96256ad..9ff3f42 100644 --- a/Doc/lib/libparser.tex +++ b/Doc/lib/libparser.tex @@ -432,7 +432,7 @@ buried deep in nested tuples. (297, (298, (299, - (300, (3, '"""Some documentation.\012"""'))))))))))))))))), + (300, (3, '"""Some documentation.\n"""'))))))))))))))))), (4, ''))), (4, ''), (0, '')) @@ -537,7 +537,7 @@ module docstring from the parse tree created previously is easy: >>> found 1 >>> vars -{'docstring': '"""Some documentation.\012"""'} +{'docstring': '"""Some documentation.\n"""'} \end{verbatim} Once specific data can be extracted from a location where it is |