About the implementation of del in Python 3
Robin Becker
robin at reportlab.com
Fri Jul 7 03:41:29 EDT 2017
On 07/07/2017 07:42, Steve D'Aprano wrote:
> On Fri, 7 Jul 2017 03:05 am, Marko Rauhamaa wrote:
>
...........
>
> [1] It may actually be instinctive -- there are studies that show that even
> young babies express surprise when they see something that violates the
> intuitive properties of identity. For example, if you pass a toy in front of
> the baby, then behind a screen, and swap it for a different toy before showing
> it again, babies tend to express surprise.
presumably this is after they learn (or make the assumption) of object permanence.
-stuffed-with-assumptions-ly yrs-
Robin Becker
More information about the Python-list
mailing list