File: fix-non-ASCII-in-README.rst.patch

package info (click to toggle)
python-rfc3986 2.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 500 kB
  • sloc: python: 2,899; makefile: 18
file content (18 lines) | stat: -rw-r--r-- 608 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix non-ASCII in README.rst
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2014-07-12

Index: python-rfc3986/README.rst
===================================================================
--- python-rfc3986.orig/README.rst
+++ python-rfc3986/README.rst
@@ -78,7 +78,7 @@ It can also parse URIs with unicode pres
 
 .. code-block:: python
 
-    uni = uri_reference(b'http://httpbin.org/get?utf8=\xe2\x98\x83')  # ☃
+    uni = uri_reference(b'http://httpbin.org/get?utf8=\xe2\x98\x83')
     print(uni.query)  # utf8=%E2%98%83
 
 With a parsed URI you can also validate it: