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

package info (click to toggle)
python-rfc3986 0.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 244 kB
  • ctags: 283
  • sloc: python: 1,279; makefile: 23
file content (18 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
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: deb-python-rfc3986/README.rst
===================================================================
--- deb-python-rfc3986.orig/README.rst
+++ deb-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: