From: Jeremy Stanley Date: Tue, 6 Jul 2010 20:23:08 +0000 (+0000) Subject: Inline literals are more readable in source form. X-Git-Tag: 0.0.1~299 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=d69137a4417ecb7bec9d607908235a44eadda446;p=mudpy.git Inline literals are more readable in source form. * doc/coder.txt: Adjusted sections referencing literal backslashes to use inline literal syntax rather than double-backslash syntax, for improved clarity. --- diff --git a/doc/coder.txt b/doc/coder.txt index 9c7b586..8dd8206 100644 --- a/doc/coder.txt +++ b/doc/coder.txt @@ -141,8 +141,8 @@ encodings and line termination appropriate to the developer's platform). * UTF-8 can be used, but only when a comment or docstring needs to - mention an author name that requires it; otherwise, using \\x, - \\u or \\U escapes is the preferred way to include non-ASCII + mention an author name that requires it; otherwise, using ``\x``, + ``\u`` or ``\U`` escapes is the preferred way to include non-ASCII data in string literals. * Identifiers must be ASCII-only, and should use English words wherever