Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a05026b

Browse files
committed
'cat' no longer exists
1 parent 2684738 commit a05026b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Lib/macpath.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ def join(s, t):
3434
return s + t
3535

3636

37-
cat = join # For compatibility
38-
39-
4037
# Split a pathname in two parts: the directory leading up to the final bit,
4138
# and the basename (the filename, without colons, in that directory).
4239
# The result (s, t) is such that join(s, t) yields the original argument.
@@ -49,6 +46,7 @@ def split(s):
4946
return s[:colon], s[colon:]
5047

5148

49+
# XXX This is undocumented and may go away!
5250
# Normalize a pathname: get rid of '::' sequences by backing up,
5351
# e.g., 'foo:bar::bletch' becomes 'foo:bletch'.
5452
# Raise the exception norm_error below if backing up is impossible,

0 commit comments

Comments
 (0)