¡@

Home 

python Programming Glossary: lightdmuser

Can anyone help condense this Python code?

http://stackoverflow.com/questions/11921320/can-anyone-help-condense-this-python-code

a script in Python and have a bit of a problem class LightDMUser QObject def __init__ self user super LightDMUser self .__init__.. class LightDMUser QObject def __init__ self user super LightDMUser self .__init__ self.user user @pyqtProperty QVariant def background.. horribly redundant. I tried condensing it like this class LightDMUser QObject attributes 'background' 'display_name' 'has_messages'..