bpo-45752: Remove "array" from list of things that cannot be copied in copy module docstring (GH-29555)

Automerge-Triggered-By: GH:asvetlov
This commit is contained in:
Alex Waygood 2021-11-14 12:56:01 +00:00 committed by GitHub
parent b7360ae395
commit c2c4fdf5ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,8 +39,8 @@ Python's deep copy operation avoids these problems by:
set of components copied set of components copied
This version does not copy types like module, class, function, method, This version does not copy types like module, class, function, method,
nor stack trace, stack frame, nor file, socket, window, nor array, nor nor stack trace, stack frame, nor file, socket, window, nor any
any similar types. similar types.
Classes can use the same interfaces to control copying that they use Classes can use the same interfaces to control copying that they use
to control pickling: they can define methods called __getinitargs__(), to control pickling: they can define methods called __getinitargs__(),