summaryrefslogtreecommitdiffstats
path: root/Lib/macpath.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-06-08 08:29:33 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-06-08 08:29:33 (GMT)
commitbdec50f0277971830e307aff8090c1494a69f4ce (patch)
tree19ae2f89e1b093efd1062a997d9139c781b9d9a9 /Lib/macpath.py
parentf30d60edbc0d5047a2fdd01e25868e4b814107e2 (diff)
downloadcpython-bdec50f0277971830e307aff8090c1494a69f4ce.zip
cpython-bdec50f0277971830e307aff8090c1494a69f4ce.tar.gz
cpython-bdec50f0277971830e307aff8090c1494a69f4ce.tar.bz2
Feature request #935915: Add os.path.devnull.
Diffstat (limited to 'Lib/macpath.py')
-rw-r--r--Lib/macpath.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py
index 695fac9..1d3fa56 100644
--- a/Lib/macpath.py
+++ b/Lib/macpath.py
@@ -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.