diff options
author | Skip Montanaro <skip@pobox.com> | 2001-02-15 22:15:14 +0000 |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2001-02-15 22:15:14 +0000 |
commit | d95497014dfaf13362efef69cae5b0ef1343b91a (patch) | |
tree | 983475a2129c410599fb07bf777a599ad23dcaac /Lib/statvfs.py | |
parent | e57795f35cfdda6978125fde160b4685127d92aa (diff) | |
download | cpython-d95497014dfaf13362efef69cae5b0ef1343b91a.tar.gz |
bunch more __all__ lists
also modified check_all function to suppress all warnings since they aren't
relevant to what this test is doing (allows quiet checking of regsub, for
instance)
Diffstat (limited to 'Lib/statvfs.py')
-rw-r--r-- | Lib/statvfs.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/statvfs.py b/Lib/statvfs.py index 06a323fa63..b3d8e971b6 100644 --- a/Lib/statvfs.py +++ b/Lib/statvfs.py @@ -13,3 +13,9 @@ F_FFREE = 6 # Total number of free file nodes F_FAVAIL = 7 # Free nodes available to non-superuser F_FLAG = 8 # Flags (see your local statvfs man page) F_NAMEMAX = 9 # Maximum file name length + +__all__ = locals().keys() +for _i in range(len(__all__)-1,-1,-1): + if __all__[_i][0] == "_": + del __all__[_i] +del _i |