3 ms·Examples are great documentation. Python's doctest automatically tests them ensuring they still work.by 6ren 15y agoExamples are great documentation. Python's doctest automatically tests them ensuring they still work.