[Patch] {l,r}just with optional pad character parameter
Peter Schneider-Kamp
peter at schneider-kamp.de
Mon Jul 17 10:07:09 EDT 2000
Beat Bolli wrote:
>
> Hi all
>
> this is my first crack at Python patching. I was simply appalled to find
> '3'.zfill(5) not working anymore in 2.0b1, so I decided to do something
> about it. Now since zfill can be expressed as rjust with an optional pad
> characer argument, I implemented this.
Looks fine to me. When you upload a version with updates to
documentation and test cases please try to make a context diff
(-c if you are using diff or cvs diff).
As it should not break any existing code (if someone relies on
{r,l}just only taking one parameter I'd say that's her/his problem),
I think it will very likely be accepted. But then, only God knows <wink>
> Live long and prosper!
trying to seperate fingers at appropriate position,
Peter
--
Peter Schneider-Kamp ++47-7388-7331
Herman Krags veg 51-11 mailto:peter at schneider-kamp.de
N-7050 Trondheim http://schneider-kamp.de
More information about the Python-list
mailing list