On Mon, Feb 27, 2017, 6:22 PM Alok Gandhi <[email protected]> wrote:
> @Justin: Just a side note to your example (though not a big deal):
> cbk = lambda *args: self.setupCallback("uiSetupNormalCol", True)
>
> It is not advised to assign lambda expressions to variables. It beats the
> whole purpose using the lambda in the first place.
>
>
> https://docs.quantifiedcode.com/python-anti-patterns/correctness/assigning_a_lambda_to_a_variable.html
>
Thanks for the info.
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAPaTLMQQRHm_hiY%2B9W6WStCHPc15E%3Dmvxw62ATtLfEyOZE55iQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAPaTLMQQRHm_hiY%2B9W6WStCHPc15E%3Dmvxw62ATtLfEyOZE55iQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3-qun-C%2BMpQOpGXfbgnGUYUVkTgfv%3DHfGYNCUgAeeCzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.