[Tutor] Working collaboratively

Alan Gauld alan.gauld at btinternet.com
Tue Oct 20 04:02:46 EDT 2015


On 20/10/15 07:33, Alex Kleider wrote:

> The output of pydoc for Path.samefile currently reads
>
> pathlib.Path.samefile = samefile(self, other_path)
>      Return whether `other_file` is the same or not as this file.
>
> pathlib.Path.samefile = samefile(self, other_path)
>      Return whether `other_path` is the same or not as this file.

Look closely at what the return value is called in each case.
And see how it compares to the names in the signature.


-- 
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