mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-15 01:44:44 +00:00
11 lines
253 B
Python
11 lines
253 B
Python
|
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
|