The Real Python Podcast cover image

Preparing for an Interview With Python Practice Problems

The Real Python Podcast

00:00

How to Capture and Record the Debate in the PEP

The Dunder Match protocol for customizing how a class gets matched has been removed. The other big change was originally if you wanted to use a constant in a matching expression, Python isn't able to distinguish that like, oh, this is already like a constant versus like a variable. So the original thought was, okay, we'll put a dot in front of that variable name and that'll say, hey, use their shit. But now we have to have all this new syntax for everything.

Play episode from 10:23
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app