Deep vs. shallow copy?

Marko Rauhamaa marko at pacujo.net
Thu Mar 13 13:27:48 CET 2014


Roy Smith <roy at panix.com>:

>  Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:
>
>> Because Python doesn't have true procedures
>
> What do you mean by "true procedure"? Are you just talking about
> subroutines that don't return any value, i.e. fortran's SUBROUTINE vs.
> FUNCTION?

Ah, the "no true procedure" argument:

 - No true procedure returns a value.

 - That's false. Python's procedures return None.

 - They are not true procedures.


Marko



More information about the Python-list mailing list