Message118373
| Author |
rgrig |
| Recipients |
bbrazil, docs@python, r.david.murray, rafe.kettler, rgrig |
| Date |
2010年10月11日.16:01:03 |
| SpamBayes Score |
7.3840274e-05 |
| Marked as misclassified |
No |
| Message-id |
<1286812864.97.0.116057405068.issue9921@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Realizing I still don't know what os.join.path does, I looked at the source. The comment in posixpath.py is:
# Ignore the previous parts if a part is absolute.
# Insert a '/' unless the first part is empty or already ends in '/'.
I find this clear and it directly corresponds to the implementation.
On the other hand, the source of ntpath.join() is a nightmare, and there's no similarly simple comment there. |
|