0
why decrease count at c[0] = -1?
why TT
2 odpowiedzi
+ 3
Please provide sufficient details such as the actual code or something relevant so that we can help you!
0
a = 42 # Create object <42>
b = a # Increase ref. count of <42>
c = [a] # Increase ref. count of <42>
del a # Decrease ref. count of <42>
b = 100 # Decrease ref. count of <42>
c[0] = -1 # Decrease ref. count of <42>
This example. TT. in python