Python: Hide internal CompileError constructor from docs

This commit is contained in:
Simon Hausmann 2025-02-18 16:28:26 +00:00 committed by Simon Hausmann
parent 45b55b8a8c
commit 48fbf887aa

View file

@ -22,6 +22,7 @@ Struct = native.PyStruct
class CompileError(Exception):
def __init__(self, message: str, diagnostics: list[native.PyDiagnostic]):
"""@private"""
self.message = message
self.diagnostics = diagnostics