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.
Showing
Please register or sign in to comment