Skip to content

Instantly share code, notes, and snippets.

@NicolasT
Created August 25, 2009 08:35
Show Gist options
  • Save NicolasT/174540 to your computer and use it in GitHub Desktop.
Save NicolasT/174540 to your computer and use it in GitHub Desktop.
args.extend(
map(str,
itertools.chain(
*list(
(key, value) if value is not None else (key, )
for (key, value) in process_args.iteritems()
)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment