[Python-Dev] RFC: PEP 460: Add bytes % args and bytes.format(args) to Python 3.5

Serhiy Storchaka storchaka at gmail.com
Tue Jan 7 14:22:06 CET 2014


Most popular formatting codes in Mercurial sources:

    2519 %s
     493 %d
     102 %r
      48 %Y
      47 %M
      41 %H
      39 %S
      38 %m
      33 %i
      29 %b
      23 %ld
      19 %ln
      12 %.3f
      10 %a
      10 %.1f
       9 %(val)r
       9 %p
       9 %.2f
       8 %I
       6 %n
       5 %(val)s
       5 %.0f
       5 %02x
       4 %f
       4 %c
       4 %12s
       3 %(user)s
       3 %(id)s
       3 %h
       3 %(bzdir)s
       3 %0.2f
       3 %02d




More information about the Python-Dev mailing list