integer copy

Thomas Jollans tjol at tjol.eu
Fri Oct 20 08:33:00 EDT 2017


On 2017-10-20 13:17, bartc wrote:
> On 20/10/2017 10:09, Thomas Jollans wrote:
> 
>> Read the source if you want to know how this is done.
>> https://github.com/python/cpython/blob/master/Lib/copy.py#L111
> 
> Good, informative comment block at the top of the type that you don't
> see often. Usually they concern themselves with licensing or with
> apportioning credits.
> 
> Still, copying looks pretty complicated...
> 

It is usual for Python modules, especially in the stdlib, to start with
an informative docstring. But you're right, this one is more detailed
and informative than most.


-- 
Thomas Jollans



More information about the Python-list mailing list