Report question

Question: os.path.basename works with URLs, why?