|
|
@@ -8,7 +8,7 @@ class CommonModule: |
|
|
|
|
|
|
|
@classmethod |
|
|
|
def len_by_full (cls, string: str) -> float: |
|
|
|
return sum ([1 if cls.is_wide (c) else .5 for c in string]) |
|
|
|
return sum (1 if cls.is_wide (c) else .5 for c in string) |
|
|
|
|
|
|
|
@classmethod |
|
|
|
def index_by_f2c (cls, string: str, index: float) -> int: |
|
|
|