Y
Hacker News
new
|
ask
|
show
|
jobs
by
m45t3r
2019 days ago
This is actually something from Python's stdlib:
https://docs.python.org/3/library/doctest.html
Really underrated.
2 comments
TT3351
2019 days ago
I seem to recall a talk given at one point that demonstrated a scheme that would reverse engineer functions out of whole cloth based only on docstrings and doctests, but of course I can't find it now.
link
MattGaiser
2019 days ago
My job is mostly Python. Did not know this existed.
link