Feb-11-2017, 01:43 AM
(Feb-10-2017, 06:02 PM)micseydel Wrote: Wait, do you not actually want a global, but rather just an invisible instance attribute? Just use double underscore prefix. It's not bullet-proof but nothing in Python is.
i want it to be visible to several methods within the class. i guess i can just leave it visible outside the class and leave it up to the programmer using the class to not mess with it. __using __a __double __underscore _on __its __name __sounds __like __a __good __idea.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.