Changeset 388 for python/vendor/current/Lib/genericpath.py
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/Lib/genericpath.py
r2 r388 16 16 """Test whether a path exists. Returns False for broken symbolic links""" 17 17 try: 18 st =os.stat(path)18 os.stat(path) 19 19 except os.error: 20 20 return False … … 23 23 24 24 # This follows symbolic links, so both islink() and isdir() can be true 25 # for the same path on osystems that support symlinks25 # for the same path on systems that support symlinks 26 26 def isfile(path): 27 27 """Test whether a path is a regular file"""
Note:
See TracChangeset
for help on using the changeset viewer.