[issue37086] time.sleep error message misleading

Michele Angrisano report at bugs.python.org
Wed May 29 12:15:52 EDT 2019


Michele Angrisano <michele.angrisano at gmail.com> added the comment:

The doc (3.7) says that the argument "may be a floating point number to indicate a more precise sleep time."
I think that TypeError message is right because you can choose how much precision you need but it's optional.
What do you think about that?

----------
nosy: +mangrisano

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


More information about the Python-bugs-list mailing list