(s)
| 18550 | |
| 18551 | |
| 18552 | def JM_UnicodeFromStr(s): |
| 18553 | if s is None: |
| 18554 | return '' |
| 18555 | if isinstance(s, bytes): |
| 18556 | s = s.decode('utf8') |
| 18557 | assert isinstance(s, str), f'{type(s)=} {s=}' |
| 18558 | return s |
| 18559 | |
| 18560 | |
| 18561 | def JM_add_annot_id(annot, stem): |
no outgoing calls
no test coverage detected
searching dependent graphs…