R. David Murray added the comment:

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".

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20970>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to