aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-07-21 14:17:41 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-07-21 14:17:41 +1200
commit3e6f440b8d19ffd2658229e8a23ed8d558390da2 (patch)
treec37784348254d1f0b5a544fafdf9c398e7c31f1f /libpathod
parent5577d85ce6835fddce6e0eaf98b241e42e959a25 (diff)
downloadmitmproxy-3e6f440b8d19ffd2658229e8a23ed8d558390da2.tar.gz
mitmproxy-3e6f440b8d19ffd2658229e8a23ed8d558390da2.tar.bz2
mitmproxy-3e6f440b8d19ffd2658229e8a23ed8d558390da2.zip
Document Python-style string escaping.
Diffstat (limited to 'libpathod')
-rw-r--r--libpathod/templates/docs_pathod.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/libpathod/templates/docs_pathod.html b/libpathod/templates/docs_pathod.html
index 8fc062ca..3b10b212 100644
--- a/libpathod/templates/docs_pathod.html
+++ b/libpathod/templates/docs_pathod.html
@@ -218,6 +218,10 @@ various other goodies. Try it by visiting the server root:</p>
<pre class="example">'fo\'o'</pre>
+ <p>Literal values can contain Python-style backslash escape sequences:</p>
+
+ <pre class="example">'foo\r\nbar'</pre>
+
<h3>Files</h3>
@@ -284,9 +288,11 @@ various other goodies. Try it by visiting the server root:</p>
<ul>
+ <li>ascii</li>
<li>ascii_letters</li>
<li>ascii_lowercase</li>
<li>ascii_uppercase</li>
+ <li>bytes</li>
<li>digits</li>
<li>hexdigits</li>
<li>letters</li>
@@ -296,8 +302,6 @@ various other goodies. Try it by visiting the server root:</p>
<li>punctuation</li>
<li>uppercase</li>
<li>whitespace</li>
- <li>ascii</li>
- <li>bytes</li>
</ul>
</section>