diff options
Diffstat (limited to 'Lib/shutil.py')
| -rw-r--r-- | Lib/shutil.py | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/Lib/shutil.py b/Lib/shutil.py index 37124a0c98..b1953cc570 100644 --- a/Lib/shutil.py +++ b/Lib/shutil.py @@ -974,6 +974,9 @@ if hasattr(os, 'statvfs'):      __all__.append('disk_usage')      _ntuple_diskusage = collections.namedtuple('usage', 'total used free') +    _ntuple_diskusage.total.__doc__ = 'Total space in bytes' +    _ntuple_diskusage.used.__doc__ = 'Used space in bytes' +    _ntuple_diskusage.free.__doc__ = 'Free space in bytes'      def disk_usage(path):          """Return disk usage statistics about the given path. | 
