diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2009-04-10 09:10:10 -0400 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2009-04-10 09:10:10 -0400 |
commit | 20268a5bc881fc21af089047e03a78870e15d112 (patch) | |
tree | 3233c14a829e0ad064f72c90ac0989eaee527708 /BeautifulSoup.py.3.diff | |
parent | dea80d87dfa914565de15da2b06d00e620a82ae3 (diff) |
Split Unicode Dammit into a separate library.
Diffstat (limited to 'BeautifulSoup.py.3.diff')
-rw-r--r-- | BeautifulSoup.py.3.diff | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/BeautifulSoup.py.3.diff b/BeautifulSoup.py.3.diff index 3943cb0..ad3d6e1 100644 --- a/BeautifulSoup.py.3.diff +++ b/BeautifulSoup.py.3.diff @@ -10,73 +10,3 @@ < i = g.next() --- > i = g.__next__() -1800c1800 -< smart_quotes_re = "([\x80-\x9f])" ---- -> smart_quotes_re = b"([\x80-\x9f])" -1952,1983c1952,1983 -< MS_CHARS = { '\x80' : ('euro', '20AC'), -< '\x81' : ' ', -< '\x82' : ('sbquo', '201A'), -< '\x83' : ('fnof', '192'), -< '\x84' : ('bdquo', '201E'), -< '\x85' : ('hellip', '2026'), -< '\x86' : ('dagger', '2020'), -< '\x87' : ('Dagger', '2021'), -< '\x88' : ('circ', '2C6'), -< '\x89' : ('permil', '2030'), -< '\x8A' : ('Scaron', '160'), -< '\x8B' : ('lsaquo', '2039'), -< '\x8C' : ('OElig', '152'), -< '\x8D' : '?', -< '\x8E' : ('#x17D', '17D'), -< '\x8F' : '?', -< '\x90' : '?', -< '\x91' : ('lsquo', '2018'), -< '\x92' : ('rsquo', '2019'), -< '\x93' : ('ldquo', '201C'), -< '\x94' : ('rdquo', '201D'), -< '\x95' : ('bull', '2022'), -< '\x96' : ('ndash', '2013'), -< '\x97' : ('mdash', '2014'), -< '\x98' : ('tilde', '2DC'), -< '\x99' : ('trade', '2122'), -< '\x9a' : ('scaron', '161'), -< '\x9b' : ('rsaquo', '203A'), -< '\x9c' : ('oelig', '153'), -< '\x9d' : '?', -< '\x9e' : ('#x17E', '17E'), -< '\x9f' : ('Yuml', ''),} ---- -> MS_CHARS = { b'\x80' : ('euro', '20AC'), -> b'\x81' : ' ', -> b'\x82' : ('sbquo', '201A'), -> b'\x83' : ('fnof', '192'), -> b'\x84' : ('bdquo', '201E'), -> b'\x85' : ('hellip', '2026'), -> b'\x86' : ('dagger', '2020'), -> b'\x87' : ('Dagger', '2021'), -> b'\x88' : ('circ', '2C6'), -> b'\x89' : ('permil', '2030'), -> b'\x8A' : ('Scaron', '160'), -> b'\x8B' : ('lsaquo', '2039'), -> b'\x8C' : ('OElig', '152'), -> b'\x8D' : '?', -> b'\x8E' : ('#x17D', '17D'), -> b'\x8F' : '?', -> b'\x90' : '?', -> b'\x91' : ('lsquo', '2018'), -> b'\x92' : ('rsquo', '2019'), -> b'\x93' : ('ldquo', '201C'), -> b'\x94' : ('rdquo', '201D'), -> b'\x95' : ('bull', '2022'), -> b'\x96' : ('ndash', '2013'), -> b'\x97' : ('mdash', '2014'), -> b'\x98' : ('tilde', '2DC'), -> b'\x99' : ('trade', '2122'), -> b'\x9a' : ('scaron', '161'), -> b'\x9b' : ('rsaquo', '203A'), -> b'\x9c' : ('oelig', '153'), -> b'\x9d' : '?', -> b'\x9e' : ('#x17E', '17E'), -> b'\x9f' : ('Yuml', ''),} |