Hacker News new | past | comments | ask | show | jobs | submit login

Python has had doctest[1] in its standard library for a very long time. The wikipedia page[2] references this post[3] of Tim Peters talking about it in 1999!

1. https://docs.python.org/3/library/doctest.html 2. https://en.wikipedia.org/wiki/Doctest 3. https://groups.google.com/group/comp.lang.python/msg/1c57cfb...




I've been using Python for years and was not aware of this feature




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: