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

Re: [pygame] [PATCH] Pythonish attribute access



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 7 Sep 2004 02:18 pm, Fábio Dias Moreira wrote:
> I've written a patch for pygame-1.6.2 that maps the C-style object
> functions into their Python-style equivalents. For instance,
>
> S.colorkey = S[0, 0]
>
> is equivalent to
>
> S.set_colorkey(S.get_at((0, 0)))

That's *way* kewl! Petey, can we please have this in the next release? :)


    Richard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBPVBnrGisBEHG6TARAiqdAJ9zxHCNpNUsB0Sc9v85wCEai1uqPQCfUe5Y
UEyNZQrol6M2l+K3p2B2LRQ=
=Gel0
-----END PGP SIGNATURE-----