Sign in
cobalt
/
cobalt
/
5cb259d50f6e15a7a4b4262c245550c9e567a308
/
.
/
src
/
third_party
/
v8
/
gypfiles
/
ForEachReplace.py
blob: 730487a2baa22c37bc885b1d512cb7f226673b05 [
file
] [
log
] [
blame
]
# Copyright (c) 2019 Ujjwal Sharma <usharma1998@gmail>. All rights reserved.
# Use of this source code is governed by an MIT-style license.
def
DoMain
(
args
):
old
=
args
.
pop
(
0
)
new
=
args
.
pop
(
0
)
return
' '
.
join
(
a
.
replace
(
old
,
new
)
for
a
in
args
)