mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Add __all__ to most modules beginning with 'n', 'o' and 'p' (#7345)
This commit is contained in:
@@ -16,6 +16,47 @@ from genericpath import (
|
||||
from os import PathLike
|
||||
from typing import AnyStr, Sequence, overload
|
||||
|
||||
__all__ = [
|
||||
"normcase",
|
||||
"isabs",
|
||||
"join",
|
||||
"splitdrive",
|
||||
"split",
|
||||
"splitext",
|
||||
"basename",
|
||||
"dirname",
|
||||
"commonprefix",
|
||||
"getsize",
|
||||
"getmtime",
|
||||
"getatime",
|
||||
"getctime",
|
||||
"islink",
|
||||
"exists",
|
||||
"lexists",
|
||||
"isdir",
|
||||
"isfile",
|
||||
"ismount",
|
||||
"expanduser",
|
||||
"expandvars",
|
||||
"normpath",
|
||||
"abspath",
|
||||
"samefile",
|
||||
"sameopenfile",
|
||||
"samestat",
|
||||
"curdir",
|
||||
"pardir",
|
||||
"sep",
|
||||
"pathsep",
|
||||
"defpath",
|
||||
"altsep",
|
||||
"extsep",
|
||||
"devnull",
|
||||
"realpath",
|
||||
"supports_unicode_filenames",
|
||||
"relpath",
|
||||
"commonpath",
|
||||
]
|
||||
|
||||
supports_unicode_filenames: bool
|
||||
# aliases (also in os)
|
||||
curdir: str
|
||||
|
||||
Reference in New Issue
Block a user