The Wayback Machine - https://web.archive.org/web/20210424233404/https://github.com/topics/doctest
Skip to content
#

doctest

Here are 70 public repositories matching this topic...

eldipa
eldipa commented Mar 23, 2021

Describe the feature you'd like
Now the byexample dropped support for Python 3.5 we can improve the code using the f-strings that appeared in Python 3.6

For example:

var1 = 12
msg1 = "Message using old C-like style: %s" % var1
msg2 = "Message using old format-like style: {}". format(var1)

Things like that could be written as

msg3 = f"Message using th

Improve this page

Add a description, image, and links to the doctest topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the doctest topic, visit your repo's landing page and select "manage topics."

Learn more