Why an object changes its "address" between adjacent calls?
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Sun Jun 17 04:19:45 EDT 2018
On Sun, 17 Jun 2018 15:08:27 +0800, Jach Fong wrote:
> The "address" of the Font object 'TkDefaultFont' changes, why?
Its not an address, it is an ID number.
The ID number changes because you get a different object each time you
call the function.
--
Steven D'Aprano
"Ever since I learned about confirmation bias, I've been seeing
it everywhere." -- Jon Ronson
More information about the Python-list
mailing list