diff options
| author | Mattias Andrée <maandree@operamail.com> | 2012-12-23 06:02:50 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2012-12-23 06:02:50 +0100 |
| commit | 757196b63dc44ee015a048d4c926ceff7dc82686 (patch) | |
| tree | 2ec28c041161f1db7785486f19e28181b592f2c6 | |
| parent | derp (diff) | |
| download | sets-757196b63dc44ee015a048d4c926ceff7dc82686.tar.gz sets-757196b63dc44ee015a048d4c926ceff7dc82686.tar.bz2 sets-757196b63dc44ee015a048d4c926ceff7dc82686.tar.xz | |
allow C and ! as alternatives to ~
Signed-off-by: Mattias Andrée <maandree@operamail.com>
| -rw-r--r-- | sets.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -108,6 +108,7 @@ if len(next.elems) > 0: formula = sys.argv[1] formula = formula.replace('\\', '-').replace('*', '&').replace('+', '|') +formula = formula.replace('C', '~').replace('!', '~') for i in range(0, 10): formula = formula.replace('%i' % i, 'sets[%i]' % i) |
