Files
dl_old/third/pybind11/tests/custom_exceptions.py
T
2026-02-28 11:58:41 +08:00

11 lines
253 B
Python
Vendored

from __future__ import annotations
class PythonMyException7(Exception):
def __init__(self, message):
self.message = message
super().__init__(message)
def __str__(self):
return "[PythonMyException7]: " + self.message.a