[Python-Dev] PEP 215 redux: toward a simplified consensus?

Paul Prescod paul@prescod.net
2002年2月25日 13:56:14 -0800


"Barry A. Warsaw" wrote:
>>...
>> Does anybody ever even use something other than `s' for %() strings?
>> >>> '%(float)f' % {'float': 3.9}
> '3.900000'

Presumably numerical analysts do....and David Ascher once told me he
uses %d as a sanity type-check. I don't bother.
 Paul Prescod

AltStyle によって変換されたページ (->オリジナル) /