3 ms·
This is actually something from Python's stdlib: https://docs.python.org/3/library/doctest.html https://docs.python.org/3/library/doctest.html Really underrate
by m45t3r 6y ago
This is actually something from Python's stdlib: https://docs.python.org/3/library/doctest.html https://docs.python.org/3/library/doctest.html
Really underrated.
- TT3351 6y agoI 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.
- MattGaiser 6y agoMy job is mostly Python. Did not know this existed.