Cyril wrote: ↑Thu Sep 19, 2019 7:05 pm
...
As I am pretty new to FeaturePython creation I wanted your opinion/approval on this point before altering this wiki page.
On first instance I agree with you, it should return
obj.
I had already thought this answer in my head "a lot of the programming documentation in the wiki is very old, so examples and tutorials should probably be thoroughly checked and rewritten".
However, I just noticed that this page was created earlier this year, March 2019, by Joel Graff, as "an update to
Scripted objects". Joel likes to program in the best Pythonic style possible, keeping things modular and consistent, so maybe there is a reason why he wrote the examples that way. Let's ask him.