[Tutor] Making Doubly Linked List with Less Lines of Code.

Alan Gauld alan.gauld at btinternet.com
Fri Jan 2 02:57:44 CET 2015


On 02/01/15 01:35, Alan Gauld wrote:

> Repeats replicates the reference to the object but
> does not create a new object.
>
> reference = original   # both refer to same object
>
> reference = original -> True

Oops, typo, should be:

reference == original -> True
> reference is original -> True

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list