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
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor