[issue40670] supplying an empty string to timeit causes an IndentationError

Florian Dahlitz report at bugs.python.org
Thu May 21 05:10:55 EDT 2020


Florian Dahlitz <f2dahlitz at freenet.de> added the comment:

I see your point and agree with you. However, IMHO the CLI and the direct function call should behave the same way to not confuse users. The opened PR ensures that.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40670>
_______________________________________


More information about the Python-bugs-list mailing list