The Real Python Podcast cover image

Creating Tic-Tac-Toe With an AI Player & Shortcuts for Python Decorators

The Real Python Podcast

00:00

How to Use Doc Tests to Improve Your Documentation

The doc tests are definitely easier to read. So for someone who's new to the language or you don't want to troll through a whole bunch of unit tests, it's very obvious what you want. And once you're there, there's little advantage to keeping both you're already there. But that idea of writing out and having it kind of create the markdown files and stuff like that, that kind of reinvigorated my desire to use it.

Play episode from 10:52
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