[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Strange (uncommon) behaviour of Font.render()



On Jan 9, 2011, at 23:08, Gregor Lingl wrote:

>> then try
>> 
>> text = font.render("Hello world!", 1, (255, 255, 0), background=None)
>> 
> Is there any reason, why this could work differently?


Named arguments can be presented in any order.
If there are more optional arguments in between, you'd get incorrect assignments if you leave the name out