[docs] [issue27228] just for clearing: os.path.normpath("file://a") returns "file:/a"

Steven D'Aprano report at bugs.python.org
Sun Jun 5 07:47:30 EDT 2016


Steven D'Aprano added the comment:

"file://a" is a valid relative file path, for a directory called "file:" and a file called "a", so normpath should return "file:/a".

----------
nosy: +steven.daprano

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27228>
_______________________________________


More information about the docs mailing list