|
From: | Auto mailings of changes to Lily Issues via Testlilyissues-auto |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] Re: #5580 Replace deprecated functions from string module |
Date: | Wed, 23 Oct 2019 21:24:52 -0000 |
I’m very late to the review party and don’t know much about python but maybe you (Jonas) could look at my questions before pushing?
[issues:#5580] Replace deprecated functions from string module
Status: Started
Created: Sat Oct 19, 2019 12:10 PM UTC by Jonas Hahnfeld
Last Updated: Wed Oct 23, 2019 07:42 PM UTC
Owner: Jonas Hahnfeld
Replace deprecated functions from string module
These methods have been deprecated since at least Python 2.4 and their
replacements are available since at least that version.
Individual changes:
* Replace string.atoi() by int()
* Replace string.split() by str.split()
* Replace string.join() by sep.join()
* Replace string.strip() by str.strip()
* Replace string.replace() by str.replace()
* Drop now unused 'import string'
http://codereview.appspot.com/566920044
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |