INNER CODE UNIT · Python

InternalError

evpo/EncryptPad · configure.py:27

class InternalError(Exception):
    pass

def flatten(l):
    return sum(l, [])

def normalize_source_path(source):
    """
    cmake needs this, and nothing else minds
    """
    return os.path.normpath(source).replace('\\', '/')

class LexResult(object):
    pass

class LexerError(InternalError):
    def __init__(self, msg, lexfile, line):
        super(LexerError, self).__init__(msg)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…