mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
Feature request #935915: Add os.path.devnull.
This commit is contained in:
parent
f30d60edbc
commit
bdec50f027
8 changed files with 31 additions and 6 deletions
|
@ -8,7 +8,7 @@ __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
|
|||
"getatime","getctime", "islink","exists","isdir","isfile",
|
||||
"walk","expanduser","expandvars","normpath","abspath",
|
||||
"curdir","pardir","sep","pathsep","defpath","altsep","extsep",
|
||||
"realpath","supports_unicode_filenames"]
|
||||
"devnull","realpath","supports_unicode_filenames"]
|
||||
|
||||
# strings representing various path-related bits and pieces
|
||||
curdir = ':'
|
||||
|
@ -18,6 +18,7 @@ sep = ':'
|
|||
pathsep = '\n'
|
||||
defpath = ':'
|
||||
altsep = None
|
||||
devnull = 'Dev:Null'
|
||||
|
||||
# Normalize the case of a pathname. Dummy in Posix, but <s>.lower() here.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue