On Fri, 26 Jan 2018 17:42:31 +0900
INADA Naoki <songofaca...@gmail.com>
wrote:
> 
> If str has str.isascii() method, it can be simpler:
> 
> `if s.isascii() and s.isdigit():`
> 
> I want to add it in Python 3.7 if there are no opposite opinions.

+1 from me.

Regards

Antoine.


_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to