Message214087
You are correct, it is os.path.basename.
"base name or symlink" are not alternatives. It would be the base name *of* the symlink if a symlink was used to invoke the program. I'm not sure that introducing the concept of the symlink here is helpful...someone that knows about it will understand, someone that doesn't won't be sufficiently enlightened. But I'm just one opinion.
Another way to clarify this would be to say "the name used by help will automatically change if the script is renamed". |
|
Date |
User |
Action |
Args |
2014-03-19 12:38:37 | r.david.murray | set | recipients:
+ r.david.murray, eric.araujo, Aaron.Meurer, docs@python, paul.j3, lilbludot |
2014-03-19 12:38:37 | r.david.murray | set | messageid: <1395232717.75.0.0279104094689.issue20970@psf.upfronthosting.co.za> |
2014-03-19 12:38:37 | r.david.murray | link | issue20970 messages |
2014-03-19 12:38:37 | r.david.murray | create | |
|