parameters: (self, args)
return_statement: return " ".join(escaped_args)
docstring: Returns a print-ready string representing command args.
          The string should be copy/paste ready for execution in a shell.
docstring_summary: Returns a print-ready string representing command args.
          The string should be copy/paste ready for execution in a shell.
docstring_tokens: Returns a print - ready string representing command args . The string should be copy / paste ready for execution in a shell .
function: def _command_for_printing(self, args):
          """Returns a print-ready string representing command args.
          The string should be copy/paste ready for execution in a shell."""
          escaped_args = []
          for arg in args:
              if isinstance(arg, unicode):
                  # Escape any non-ascii characters for easy copy/paste
                  arg = arg.encode("unicode_escape")
              # FIXME: Do we need to fix quotes here?
              escaped_args.append(arg)
          return " ".join(escaped_args)
function_tokens: def _command_for_printing ( self , args ) : escaped_args = [ ] for arg in args : if isinstance ( arg , unicode ) : # Escape any non-ascii characters for easy copy/paste arg = arg . encode ( "unicode_escape" ) # FIXME: Do we need to fix quotes here? escaped_args . append ( arg ) return " " . join ( escaped_args )