Same comment as the one before (about kwargs), but may be in this case is more justified... I don't know, string handling like this is too error prone.