1
0
mirror of https://github.com/exaloop/codon.git synced 2025-06-03 15:03:52 +08:00
codon/stdlib/copy.codon
A. R. Shajii 0e42fded1a
2024 updates (#548)
* Update copyright dates in stdlib

* Update copyright dates in cpp files

* Update copyright dates in h files

* Update copyright dates in py files

* Bump version

* Update LICENSE

* Update release notes
2024-03-02 16:30:03 -05:00

12 lines
262 B
Python

# Copyright (C) 2022-2024 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__()