[docs] [issue26330] shutil.disk_usage() on Windows can't properly handle unicode

STINNER Victor report at bugs.python.org
Wed Feb 10 10:36:47 EST 2016


STINNER Victor added the comment:

> You are right, my bad.

No problem. I read the doc before replying, and it is not said that the path must exist or must be a directory:
https://docs.python.org/dev/library/shutil.html#shutil.disk_usage

> I'll fix doc mentioning that on Windows "path" can only be a directory (on UNIX it can also be a file).

Great!

----------

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


More information about the docs mailing list