Lines Matching refs:quote
16 import quote
26 sys.stdout.write('Invoking quote(%s, %s, %s)\n' %
31 return quote.quote(in_string, specials, *args, **kwargs)
41 return quote.unquote(in_string, specials, *args, **kwargs)
104 help='Special characters to quote (default is ":")')
105 parser.add_option('-q', '--quote', dest='quote', default='\\',
106 help='Quote or escape character (default is "\")')
124 # NB: there are inputs x for which quote(unquote(x) != x, but
125 # there should be no input x for which unquote(quote(x)) != x.
127 qq = quote.unquote(word, options.special_chars, options.quote)
134 q = quote.quote(word, options.special_chars, options.quote)
135 qq = quote.unquote(q, options.special_chars, options.quote)
136 sys.stdout.write('quote(%s) = %s, unquote(%s) = %s\n'