diff options
author | Fred Drake <fdrake@acm.org> | 2000-08-15 16:20:36 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-08-15 16:20:36 (GMT) |
commit | 185a29b08ffcb1370e469f25173f185ed0a60d39 (patch) | |
tree | a8f8bed01bff3ad473445b1145ae48b3b6aebf37 /Doc | |
parent | a811a5b13a095d61d0560b95259a957a2c0a4c47 (diff) | |
download | cpython-185a29b08ffcb1370e469f25173f185ed0a60d39.zip cpython-185a29b08ffcb1370e469f25173f185ed0a60d39.tar.gz cpython-185a29b08ffcb1370e469f25173f185ed0a60d39.tar.bz2 |
my_basename(): Removes the leading path components from a path name,
returning a pointer to the start of the file's "base" name;
similar to os.path.basename().
SyntaxError__str__(): Use my_basename() to keep the length of the
file name included in the exception message short.
Diffstat (limited to 'Doc')
0 files changed, 0 insertions, 0 deletions