fix deprecation
This commit is contained in:
parent
f6675cb707
commit
32c5a9f8b3
@ -9,8 +9,8 @@ import math
|
|||||||
COMMANDS = set('MmZzLlHhVvCcSsQqTtAa')
|
COMMANDS = set('MmZzLlHhVvCcSsQqTtAa')
|
||||||
UPPERCASE = set('MZLHVCSQTA')
|
UPPERCASE = set('MZLHVCSQTA')
|
||||||
|
|
||||||
COMMAND_RE = re.compile("([MmZzLlHhVvCcSsQqTtAa])")
|
COMMAND_RE = re.compile(r"([MmZzLlHhVvCcSsQqTtAa])")
|
||||||
FLOAT_RE = re.compile("[-+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?")
|
FLOAT_RE = re.compile(r"[-+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?")
|
||||||
|
|
||||||
SVG_COLORS = {
|
SVG_COLORS = {
|
||||||
"aliceblue": (0.941176,0.972549,1),
|
"aliceblue": (0.941176,0.972549,1),
|
||||||
|
Loading…
Reference in New Issue
Block a user