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 b8c1eeed36
2025 updates (#619)
* 2025 updates

* Update ci.yml
2025-01-29 15:41:43 -05:00

12 lines
262 B
Python

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