New submission from Justin Fay <johnplayerb...@gmail.com>:

Using python3.6 and calling `time.sleep` with an invalid argument the 
`TypeError` raised has the error message "TypeError: an integer is required". 
This is not the case as a float or integer is acceptable. Using python 2.7 the 
error message given is better "TypeError: a float is required".

----------
messages: 343880
nosy: Justin Fay
priority: normal
severity: normal
status: open
title: time.sleep error message misleading
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37086>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to