Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What's up with the all caps TRUE and FALSE ?
#1
In gimpfu, TRUE is not a boolean but an instance:


Code:
➤> type(TRUE)
<type 'instance'>


I'm wondering why it was made that way and whether it can have unwanted consequences to use python's boolean "True" instead in commands of this kind:

Code:
pdb.gimp_edit_paste(channel, True)
Reply


Messages In This Thread
What's up with the all caps TRUE and FALSE ? - by ChameleonScales - 10-15-2021, 11:30 PM

Forum Jump: