Without strip (), bananas is present in the dictionary but with an empty string as value. With strip (), this code will throw an exception because it strips the tab of the banana line. Better -dcmake_c_flags_release if you want to strip only release build.

The string. strip (), string. stripleading (), and string. striptrailing () methods trim white space [as determined by character. iswhitespace ()] off either the front, back, or both front and back of the …