New GitHub issue #94713 from Nougat-Waffle:<br>

<hr>

<pre>
A simple rewriting of some of the code to be more modern. Replacing %-formatting and string concatenation with f-strings and replacing `while 1` with `while True`.


</pre>

<hr>

<a href="https://github.com/python/cpython/issues/94713">View on GitHub</a>
<p>Labels: type-feature</p>
<p>Assignee: </p>