micropython-lib icon indicating copy to clipboard operation
micropython-lib copied to clipboard

minor typo in deep copy

Open LokiMetaSmith opened this issue 1 year ago • 0 comments

I came across this when compiling against copy.py, looking to use the deepcopy function

File "/lib/copy.py", line 194, in deepcopy NameError: name 'dispatch_table' is not defined

I believe it should be _deepcopy_dispatch

https://github.com/micropython/micropython-lib/blame/e4cf09527bce7569f5db742cf6ae9db68d50c6a9/python-stdlib/copy/copy.py#L96

LokiMetaSmith avatar Dec 27 '24 07:12 LokiMetaSmith