Steven Howe <[EMAIL PROTECTED]> wrote: >Terry Reedy wrote: >> >> korean_dave wrote: >>> What does this operator do? Specifically in this context >>> >>> test.log( "[[Log level %d: %s]]" % ( level, msg ), description ) > >I thought, in this contexted, it was mapping operator.
What?? Python does not have a "mapping operator". It has a "map" function, but no equivalent operator. % is either the string formatting operator (when the left-hand operand is a string) or the modulo operator (when the left-hand operand is a number). -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list
