diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2004-06-08 08:29:33 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2004-06-08 08:29:33 (GMT) |
commit | bdec50f0277971830e307aff8090c1494a69f4ce (patch) | |
tree | 19ae2f89e1b093efd1062a997d9139c781b9d9a9 /Lib/os2emxpath.py | |
parent | f30d60edbc0d5047a2fdd01e25868e4b814107e2 (diff) | |
download | cpython-bdec50f0277971830e307aff8090c1494a69f4ce.zip cpython-bdec50f0277971830e307aff8090c1494a69f4ce.tar.gz cpython-bdec50f0277971830e307aff8090c1494a69f4ce.tar.bz2 |
Feature request #935915: Add os.path.devnull.
Diffstat (limited to 'Lib/os2emxpath.py')
-rw-r--r-- | Lib/os2emxpath.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/os2emxpath.py b/Lib/os2emxpath.py index 09982aa..9f8a1dd 100644 --- a/Lib/os2emxpath.py +++ b/Lib/os2emxpath.py @@ -13,7 +13,7 @@ __all__ = ["normcase","isabs","join","splitdrive","split","splitext", "getatime","getctime", "islink","exists","isdir","isfile","ismount", "walk","expanduser","expandvars","normpath","abspath","splitunc", "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 = '.' @@ -23,6 +23,7 @@ sep = '/' altsep = '\\' pathsep = ';' defpath = '.;C:\\bin' +devnull = 'nul' # Normalize the case of a pathname and map slashes to backslashes. # Other normalizations (such as optimizing '../' away) are not done |