Mercurial > hg
comparison tests/test-mq-qpush-fail.t @ 35539:d1aae6d4efc5 stable
templatefilters: fix doc of basename()
os.path.basename() does NOT strip trailing slashes.
> Note that the result of this function is different from the Unix basename
> program; where basename for '/foo/bar/' returns 'bar', the basename()
> function returns an empty string ('').
https://docs.python.org/2.7/library/os.path.html#os.path.basename
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 07 Jan 2018 12:07:29 +0900 |
parents | 9e4f82bc2b0b |
children | 5d81f1b7051b |
comparison
equal
deleted
inserted
replaced
35538:f39cf992216f | 35539:d1aae6d4efc5 |
---|