Added support for micro, not just mu.

Now both are supported:
GREEK SMALL LETTER MU U+03BC
MICRO SIGN U+00B5
This commit is contained in:
SET 2020-08-13 11:23:48 -03:00
parent b60b0ef680
commit 548981e27e
1 changed files with 4 additions and 1 deletions

View File

@ -12,8 +12,11 @@ e.g.
"""
import re
import locale
from .. import log
PREFIX_MICRO = [u"μ", "u", "micro"]
logger = log.get_logger(__name__)
PREFIX_MICRO = [u"μ", u"µ", "u", "micro"]
PREFIX_MILLI = ["milli", "m"]
PREFIX_NANO = ["nano", "n"]
PREFIX_PICO = ["pico", "p"]