(s)
| 133 | |
| 134 | @normalize_token.register(set) |
| 135 | def normalize_set(s): |
| 136 | # Note: in some Python version / OS combinations, set order changes every |
| 137 | # time you recreate the set (even within the same interpreter). |
| 138 | # In most other cases, set ordering is consistent within the same interpreter. |
| 139 | return "set", _normalize_seq_func(sorted(s, key=str)) |
| 140 | |
| 141 | |
| 142 | def _normalize_seq_func(seq: Iterable[object]) -> tuple[object, ...]: |
nothing calls this directly
no test coverage detected
searching dependent graphs…