[PyQt] PyQt4.Qtcore defines 'hex'
dato at net.com.org.es
Wed Jan 7 11:11:57 GMT 2009
* Giovanni Bajo [Wed, 07 Jan 2009 11:06:09 +0100]:
> Appending the underscore to those symbols is a perfect fix IMO.
I realize this is a matter of preference, but I'd suggest using qbin()
and qhex() rather than the underscore: I think it makes more sense for
stuff that can be imported into the global namespace (as opposed to
stuff as exec_() that can only be attached to an object).
If you see in the middle of a program hex_(foo), you may wonder where
that came from, whereas qhex(foo) is going to be rather obvious.
Of course, do what you think it's best. :-)
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
- I love you, Shirley, I'm not ashamed to say.
- If you love me, then you'll want me to be happy. Even if I'm not with you.
- I don't love you that much.
-- Denny Crane and Shirley Schmidt
More information about the PyQt