From 94e8537430ab7496e4b8e697581d65b06cf8b979 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 27 May 2019 13:52:20 +0200 Subject: EeVal: Supporting omega symbol in addition to ohm symbol (which are usually graphically equal). --- src/ee/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ee/__init__.py') diff --git a/src/ee/__init__.py b/src/ee/__init__.py index 06c5aab..ea887b1 100644 --- a/src/ee/__init__.py +++ b/src/ee/__init__.py @@ -36,7 +36,9 @@ power_type = EeValType("W", []) @total_ordering class EeVal(object): units = ['F', - 'Ohm', '\u2126', # Ohm symbol + 'Ohm', + '\u03a9', # Ohm, the greek (upper case) letter + '\u2126', # Ohm symbol, deprecated from unicode 'H'] exponents = { 'f': -15, -- cgit v1.2.3