add support for bin formatter

This commit is contained in:
Gregory Czajkowski 2013-11-12 13:25:56 -08:00
parent 631f407f99
commit c5695691c1

View File

@ -236,10 +236,10 @@ The available integer presentation types are:
| | upper-case letters for the digits above 9. |
+---------+----------------------------------------------------------+
| ``'b'`` | Binary format. Outputs the number in base 2, using |
| | a upper-case 0B if a prefix is requested. |
| | a lower-case 0b if a prefix is requested. |
+---------+----------------------------------------------------------+
| ``'B'`` | Binary format. Outputs the number in base 2, using |
| | a lower-case 0b if a prefix is requested. |
| | a upper-case 0B if a prefix is requested. |
+---------+----------------------------------------------------------+
| none | The same as ``'d'``. |
+---------+----------------------------------------------------------+