summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-22 18:07:04 (GMT)
committerGeorg Brandl <georg@python.org>2005-08-22 18:07:04 (GMT)
commitf5b8d449f4cb145bb569bfeb783dc157804577fa (patch)
tree219799c56c611ff5fb76243113a4abb5f1e38517 /Lib
parentf8200ffda3b39f7bd53e62e5afa5c53fe71766c0 (diff)
downloadcpython-f5b8d449f4cb145bb569bfeb783dc157804577fa.zip
cpython-f5b8d449f4cb145bb569bfeb783dc157804577fa.tar.gz
cpython-f5b8d449f4cb145bb569bfeb783dc157804577fa.tar.bz2
backport bug #1266283: add lexists to os.path.__all__
Diffstat (limited to 'Lib')
-rw-r--r--Lib/macpath.py2
-rw-r--r--Lib/ntpath.py8
-rw-r--r--Lib/os2emxpath.py8
-rw-r--r--Lib/posixpath.py4
4 files changed, 11 insertions, 11 deletions
diff --git a/Lib/macpath.py b/Lib/macpath.py
index f50f660..499f1dc 100644
--- a/Lib/macpath.py
+++ b/Lib/macpath.py
@@ -5,7 +5,7 @@ from stat import *
__all__ = ["normcase","isabs","join","splitdrive","split","splitext",
"basename","dirname","commonprefix","getsize","getmtime",
- "getatime","getctime", "islink","exists","isdir","isfile",
+ "getatime","getctime", "islink","exists","lexists","isdir","isfile",
"walk","expanduser","expandvars","normpath","abspath",
"curdir","pardir","sep","pathsep","defpath","altsep","extsep",
"devnull","realpath","supports_unicode_filenames"]
diff --git a/Lib/ntpath.py b/Lib/ntpath.py
index 649e424..e3028ef 100644
--- a/Lib/ntpath.py
+++ b/Lib/ntpath.py
@@ -11,10 +11,10 @@ import sys
__all__ = ["normcase","isabs","join","splitdrive","split","splitext",
"basename","dirname","commonprefix","getsize","getmtime",
- "getatime","getctime", "islink","exists","isdir","isfile","ismount",
- "walk","expanduser","expandvars","normpath","abspath","splitunc",
- "curdir","pardir","sep","pathsep","defpath","altsep","extsep",
- "devnull","realpath","supports_unicode_filenames"]
+ "getatime","getctime", "islink","exists","lexists","isdir","isfile",
+ "ismount","walk","expanduser","expandvars","normpath","abspath",
+ "splitunc","curdir","pardir","sep","pathsep","defpath","altsep",
+ "extsep","devnull","realpath","supports_unicode_filenames"]
# strings representing various path-related bits and pieces
curdir = '.'
diff --git a/Lib/os2emxpath.py b/Lib/os2emxpath.py
index 4c64324..71990fb 100644
--- a/Lib/os2emxpath.py
+++ b/Lib/os2emxpath.py
@@ -10,10 +10,10 @@ import stat
__all__ = ["normcase","isabs","join","splitdrive","split","splitext",
"basename","dirname","commonprefix","getsize","getmtime",
- "getatime","getctime", "islink","exists","isdir","isfile","ismount",
- "walk","expanduser","expandvars","normpath","abspath","splitunc",
- "curdir","pardir","sep","pathsep","defpath","altsep","extsep",
- "devnull","realpath","supports_unicode_filenames"]
+ "getatime","getctime", "islink","exists","lexists","isdir","isfile",
+ "ismount","walk","expanduser","expandvars","normpath","abspath",
+ "splitunc","curdir","pardir","sep","pathsep","defpath","altsep",
+ "extsep","devnull","realpath","supports_unicode_filenames"]
# strings representing various path-related bits and pieces
curdir = '.'
diff --git a/Lib/posixpath.py b/Lib/posixpath.py
index 261e5a7..9eac6bc 100644
--- a/Lib/posixpath.py
+++ b/Lib/posixpath.py
@@ -15,8 +15,8 @@ import stat
__all__ = ["normcase","isabs","join","splitdrive","split","splitext",
"basename","dirname","commonprefix","getsize","getmtime",
- "getatime","getctime","islink","exists","isdir","isfile","ismount",
- "walk","expanduser","expandvars","normpath","abspath",
+ "getatime","getctime","islink","exists","lexists","isdir","isfile",
+ "ismount","walk","expanduser","expandvars","normpath","abspath",
"samefile","sameopenfile","samestat",
"curdir","pardir","sep","pathsep","defpath","altsep","extsep",
"devnull","realpath","supports_unicode_filenames"]