Mercurial > cgi-bin > hgweb.cgi > curlyq
comparison curlers.py @ 18:b2dab0667ec2
Fix bug; new ws much like old.
author | David Barts <n5jrn@me.com> |
---|---|
date | Fri, 27 Dec 2019 23:28:57 -0800 |
parents | 397c178c5b98 |
children | f8d0a5201dd7 |
comparison
equal
deleted
inserted
replaced
17:0c8d787bc7e1 | 18:b2dab0667ec2 |
---|---|
8 import os, sys | 8 import os, sys |
9 from runes import Workspace | 9 from runes import Workspace |
10 | 10 |
11 # V a r i a b l e s | 11 # V a r i a b l e s |
12 | 12 |
13 # Quote types, as rune values | 13 # Quote types |
14 LSQUO = 0x2018 | 14 LSQUO = "\u2018" |
15 APOS = RSQUO = 0x2019 | 15 APOS = RSQUO = "\u2019" |
16 LDQUO = 0x201c | 16 LDQUO = "\u201C" |
17 RDQUO = 0x201d | 17 RDQUO = "\u201D" |
18 | 18 |
19 # Words that start with an apostrophe. Cribbed from Wordpress. | 19 # Words that start with an apostrophe. Cribbed from Wordpress. |
20 _ASTART = [ "'tain't", "'twere", "'twas", "'tis", "'twill", "'til", | 20 _ASTART = [ "'tain't", "'twere", "'twas", "'tis", "'twill", "'til", |
21 "'bout", "'nuff", "'round", "'cause" , "'em" ] | 21 "'bout", "'nuff", "'round", "'cause" , "'em" ] |
22 | 22 |