Alex Hallalexhall@mastodon.social
Nov 26, 2026, 2:12 AM@jscholes It does? I've used Python a fair amount, and I only remember the capitalized version.
@jscholes It does? I've used Python a fair amount, and I only remember the capitalized version.
@alexhall There's `self` with a lowercase S, which is typically the name of the first parameter in instance methods. And then there's `Self` with a capital S, which you import from the `typing` module and use as a type annotation.
@jscholes Oh, right, I had it backwards. The lowercase one is the one I'm used to.