[issue21279] str.translate documentation incomplete

2014-04-18 Thread Kinga Farkas

Kinga Farkas added the comment:

I have created a patch based on Martin Panter's suggestions.  Please let me 
know if it is off or there should be additional changes included.

--
keywords: +patch
nosy: +lilbludot
Added file: http://bugs.python.org/file34966/issue21279.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21279
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20970] contradictory documentation for prog option of argparse

2014-03-19 Thread Kinga Farkas

Changes by Kinga Farkas lilblu...@gmail.com:


--
keywords: +patch
Added file: http://bugs.python.org/file34517/issue20970.patch

___
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



[issue20970] contradictory documentation for prog option of argparse

2014-03-18 Thread Kinga Farkas

Kinga Farkas added the comment:

So, would it be helpful to rephrase the original text

By default, ArgumentParser objects uses sys.argv[0] to determine how to 
display the name of the program in thehelp messages. This default is almost 
always desirable because it will make the help messages match how the program 
was invoked on the command line. 

 by 

By default, ArgumentParser objects uses the base name of the path sys.argv[0] 
to determine how to display the name of the program in the help messages.

And then all that would remain is to change the backslash to a forward slash in 
the example that follows.

--
nosy: +lilbludot

___
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



[issue20970] contradictory documentation for prog option of argparse

2014-03-18 Thread Kinga Farkas

Kinga Farkas added the comment:

Would the second sentence sound good if phrased as:
This default is almost always desirable because it will make the help messages 
use the same name that was used to invoke the program on the command line, 
whether it be the base name or a symlink.  
 
As I am working on my first contribution here, I am not quite sure of the 
conventions. 
In the official documentation:
1. would you create a reference to  os.basename or os.path.basename?
2. would you use the word symlink or the term symbolic link or it does not 
matter?

--

___
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