The Real Python Podcast cover image

Discussing Type Hints, Protocols, and Ducks in Python

The Real Python Podcast

00:00

Typeshed

When i was studying the subject for the book, i found af a few bugs inhe type shed. Type shed is that repository that has the type hints for the biton standard library. And there were some issues there that i mentioned in my talk at picon india. So I contributed fixes to typeshed by implementing protocs. That's a protocle that is useful for anything that has to be an element of something that will be sorted in piton. For es the another sorted function. It takes any itrable where the elements implement the last ten method,. The dunder elt method, because that's the only method that piton uses to compare items when

Transcript
Play full episode

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