Issue 922117: unidiomatic str.replace - Python tracker (original ) (raw ) Issue922117
Created on 2004-03-23 23:44 by gaul , last changed 2022-04-11 14:56 by admin . This issue is now closed .
Files
File name
Uploaded
Description
Edit
trivial.patch
gaul,2004-03-23 23:44
remove unidiomatic code
Messages (3)
msg45646 - (view)
Author: Andrew Gaul (gaul)
Date: 2004-03-23 23:44
Some code in the standard library is using s = 'a'.join(s.split('b')) instead of s = s.replace('a', 'b').
msg45647 - (view)
Author: Martin v. Löwis (loewis) *
Date: 2004-03-24 13:56
Logged In: YES user_id=21627 Please submit unified or context diffs in the future.
msg45648 - (view)
Author: Brett Cannon (brett.cannon) *
Date: 2004-03-24 14:07
Logged In: YES user_id=357491 Applied (don't have the rev. #s since SF went read-only when I first submitted this and then I lost the page I had with all of this filled out).
History
Date
User
Action
Args
2022-04-11 14:56:03
admin
set
github: 40071
2004-03-23 23:44:19
gaul
create