song super <[email protected]> added the comment:
I mean,os.path.join('3', '{:3') return '{:3' in
windows,However,os.path.join('3', '{:3') return '3/{:3'in linux,output result
not '3'in windows,why?
for example:
>>> from os.path import join
>>> join('3', '{:3')
output:'{:3'
>>> join('3', '{3')
output:'3\\{3'
I think 'join('3', '{:3') ' output '3\\{:3' in windows
----------
nosy: +2262720766
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue41565>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com