Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libparser.tex @ 16226:c7c404b35f33 legacy-trunk
Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.
Switch from octal escapes to hex escapes for other nonprintable characters.
| author | Ka-Ping Yee <ping@zesty.ca> |
|---|---|
| date | Wed, 24 Jan 2001 17:19:08 +0000 |
| parents | fdfd1049f36e |
| children | e5c3ca7b5099 |
line wrap: on
line diff
--- a/Doc/lib/libparser.tex Wed Jan 24 17:18:21 2001 +0000 +++ b/Doc/lib/libparser.tex Wed Jan 24 17:19:08 2001 +0000 @@ -432,7 +432,7 @@ (297, (298, (299, - (300, (3, '"""Some documentation.\012"""'))))))))))))))))), + (300, (3, '"""Some documentation.\n"""'))))))))))))))))), (4, ''))), (4, ''), (0, '')) @@ -537,7 +537,7 @@ >>> 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
