Whether a character is the FNC1 character. May be redefined by subclasses if required. FNC1 char is defined in GS1-128 specification and it is defined just the same for all encodings therefore this sign should be treated in a special way.
(self, char)
| 178 | |
| 179 | # to be redefined in subclass if required |
| 180 | def _is_char_fnc1_char(self, char): |
| 181 | """Whether a character is the FNC1 character. |
| 182 | |
| 183 | May be redefined by subclasses if required. FNC1 char is defined in GS1-128 |
| 184 | specification and it is defined just the same for all encodings therefore this |
| 185 | sign should be treated in a special way. |
| 186 | """ |
| 187 | return False |
| 188 | |
| 189 | def _maybe_switch_charset(self, pos: int) -> list[int]: |
| 190 | char = self.code[pos] |
no outgoing calls
no test coverage detected