isinstance(STUFF, str)' to
for future-proofing this code.
Beware: changes in this commit may or may not work properly.