In case, you try to create an object within a script without assigning to the variable, that amounts to the same case as I showed in test_foo(). The callable gets called, becomes the top of the stack and POP_TOP pops it, decrements the ref count.
Thanks for the detailed response
So effectively, the ref count is 1 for the briefest of momentsтАж
Yes, exactly.
In case, you try to create an object within a script without assigning to the variable, that amounts to the same case as I showed in test_foo(). The callable gets called, becomes the top of the stack and POP_TOP pops it, decrements the ref count.
Thanks for the detailed response
So effectively, the ref count is 1 for the briefest of momentsтАж
Yes, exactly.