glue/glue.py

5 lines
214 B
Python
Raw Normal View History

2014-10-30 17:49:31 +00:00
def glue(*args, **kwargs):
what_to_glue = list(args)
2014-10-30 17:56:05 +00:00
what_to_glue.extend([v for k,v in kwargs.iteritems()]) # Ignore all your keys, because you're doing this wrong anyway
2014-10-30 17:49:31 +00:00
return " ".join(what_to_glue)