mirror of
https://github.com/exaloop/codon.git
synced 2025-06-03 15:03:52 +08:00
12 lines
262 B
Python
12 lines
262 B
Python
# Copyright (C) 2022-2023 Exaloop Inc. <https://exaloop.io>
|
|
|
|
class Error(Static[Exception]):
|
|
def __init__(self, message: str = ""):
|
|
super().__init__("copy.Error", message)
|
|
|
|
def copy(x):
|
|
return x.__copy__()
|
|
|
|
def deepcopy(x):
|
|
return x.__deepcopy__()
|