Message117146
| Author |
rgrig |
| Recipients |
rgrig |
| Date |
2010年09月22日.15:22:55 |
| SpamBayes Score |
1.6972634e-06 |
| Marked as misclassified |
No |
| Message-id |
<1285168977.46.0.728141650864.issue9921@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The docs say that "the return value is the concatenation of path1, and optionally path2, etc., with exactly one directory separator (os.sep) inserted between components, unless path2 is empty."
But os.path.join('x','') returns 'x/' in which path1 and path2 *are* separated by exactly one os.sep, even though path2 is empty.
Either the docs or the implementation should be updated. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年09月22日 15:22:57 | rgrig | set | recipients:
+ rgrig |
| 2010年09月22日 15:22:57 | rgrig | set | messageid: <1285168977.46.0.728141650864.issue9921@psf.upfronthosting.co.za> |
| 2010年09月22日 15:22:55 | rgrig | link | issue9921 messages |
| 2010年09月22日 15:22:55 | rgrig | create |
|