korean_dave wrote:
What does this operator do? Specifically in this context

test.log( "[[Log level %d: %s]]" % ( level, msg ), description )

(Tried googling and searching, but the "%" gets interpreted as an
operation and distorts the search results)
It's the string formatting operator:
   http://docs.python.org/lib/typesseq-strings.html


Btw, a good place to start searching would be:
   http://docs.python.org/lib/lib.html
especially:
   http://docs.python.org/lib/genindex.html

Cheers
RB
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to