Kaydet (Commit) a05026b3 authored tarafından Guido van Rossum's avatar Guido van Rossum

'cat' no longer exists

üst 2684738d
...@@ -34,9 +34,6 @@ def join(s, t): ...@@ -34,9 +34,6 @@ def join(s, t):
return s + t return s + t
cat = join # For compatibility
# Split a pathname in two parts: the directory leading up to the final bit, # Split a pathname in two parts: the directory leading up to the final bit,
# and the basename (the filename, without colons, in that directory). # and the basename (the filename, without colons, in that directory).
# The result (s, t) is such that join(s, t) yields the original argument. # The result (s, t) is such that join(s, t) yields the original argument.
...@@ -49,6 +46,7 @@ def split(s): ...@@ -49,6 +46,7 @@ def split(s):
return s[:colon], s[colon:] return s[:colon], s[colon:]
# XXX This is undocumented and may go away!
# Normalize a pathname: get rid of '::' sequences by backing up, # Normalize a pathname: get rid of '::' sequences by backing up,
# e.g., 'foo:bar::bletch' becomes 'foo:bletch'. # e.g., 'foo:bar::bletch' becomes 'foo:bletch'.
# Raise the exception norm_error below if backing up is impossible, # Raise the exception norm_error below if backing up is impossible,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment