MCPcopy Create free account
hub / github.com/ddnet/ddnet / LanguageDecodeError

Class LanguageDecodeError

scripts/languages/twlang.py:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6
7class LanguageDecodeError(Exception):
8 def __init__(self, message, filename, line):
9 error = f'File "{filename}", line {line + 1}: {message}'
10 super().__init__(error)
11
12
13def decode(fileobj, elements_per_key, allow_context=True):

Callers 1

decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected