(obj: str)
| 50 | |
| 51 | |
| 52 | def to_unicode(obj: str) -> str: |
| 53 | def mapping(obj: str) -> str: |
| 54 | if obj.startswith("xn--"): |
| 55 | return decode(obj[4:].lower()) |
| 56 | return obj |
| 57 | |
| 58 | return map_domain(obj, mapping) |
| 59 | |
| 60 | |
| 61 | def to_ascii(obj: str) -> str: |
nothing calls this directly
no test coverage detected
searching dependent graphs…