commit | 185a29b08ffcb1370e469f25173f185ed0a60d39 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Tue Aug 15 16:20:36 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Tue Aug 15 16:20:36 2000 +0000 |
tree | a8f8bed01bff3ad473445b1145ae48b3b6aebf37 | |
parent | a811a5b13a095d61d0560b95259a957a2c0a4c47 [diff] |
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.