В Воскресенье, 15 апр. 2018 в 12:40 , Serhiy Storchaka <storch...@gmail.com> написал:
If the problem is that you want to use a single line instead of three
line, you can add a function

Yes, I think that single line with word 'rewrite' is much more readable than those three lines. And yes, I can make my own function, but it is typical task - maybe it must be in standard library?

_______________________________________________
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