Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
self.object
#2
One sets it to be a class attribute, the other doesn't. As self.layout is not used in any other functions or referenced anywhere else, and setLayout was already called using it, it doesn't make a difference.

If there is no need to use it elsewhere however it shouldn't be a class attribute.
Reply


Messages In This Thread
self.object - by nengkya - Jan-28-2018, 05:58 PM
RE: self.object - by Mekire - Jan-28-2018, 06:20 PM
RE: self.object - by Gribouillis - Jan-28-2018, 06:59 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020