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 <rep...@bugs.python.org> <http://bugs.python.org/issue26330> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com