I would do
class MyClass:
def __init__(self, value):
self._whatever = value
@property
def whatever(self):
return self._whatever
Personally, I would type hint all of that but I’m just showing how you can do it without types. Your linter should be smart enough to say “hey dumbass did you mean this other thing”? Also since we didn’t create a setter you can’t arbitrarily overwrite the value of whatever so thats neat.
And I’ll just say before I post that I’m on mobile and I’m sorry if the formatting is fucked. I’m not going to fix it.
Sorry, anyone still on Xitter is a Nazi and I can’t be fucked to go through Nazi garbage to determine what is real and what is Nazi propaganda.
Of course Isntreal is blocking aid to Gaza, they’ve been doing that since they bombed the border crossing at the very start of the genocide.
What I doubt is that this is somehow against gesticulates vaguely U.S. law, whatever the fuck that is even supposed to mean in this context. Or that the US is somehow obligated to stop munitions into Isntreal. Or that a soveirgn nation is somehow beholden to gesticulates vaguely U.S. law. Or that this could even be done without handing the election to Donnie on a silver platter. I can hear it now, “SEEEEEEE THEY HATE THE JOOOOOOOOS! I WILL CRUSH PALESTINE LIKE THE GOOD CHRISTIAN I AM”.
Sorry I don’t believe every bullshit thing I see on the internet.
Also, lmao at
The US needs to withdraw all support for Isntreal and hold war crime hearings for Netanyahoo, but not because some asshole on Xitter said so.