Fix various __all__-related errors and omissions (#8031)

This commit is contained in:
Alex Waygood
2022-06-07 23:29:55 +01:00
committed by GitHub
parent 591593c85f
commit e7a5b7a762
15 changed files with 108 additions and 21 deletions

View File

@@ -86,7 +86,7 @@ __all__ = [
"commonpath",
]
if sys.version_info < (3, 7) and sys.platform == "win32":
if sys.version_info < (3, 7):
__all__ += ["splitunc"]
def splitunc(p: AnyStr) -> tuple[AnyStr, AnyStr]: ... # deprecated