@@ -354,15 +354,15 @@ Format
354
354
```
355
355
356
356
#### Float presentation types:
357
- * ` 'f' ` - Fixed point: ` .<precision>f `
358
- * ` '%' ` - Percent: ` .<precision>% `
359
- * ` 'e' ` - Exponent
357
+ * ** ` 'f' ` - Fixed point: ` .<precision>f ` **
358
+ * ** ` '%' ` - Percent: ` .<precision>% ` **
359
+ * ** ` 'e' ` - Exponent**
360
360
361
361
#### Integer presentation types:
362
- * ` 'c' ` - character
363
- * ` 'b' ` - binary
364
- * ` 'x' ` - hex
365
- * ` 'X' ` - HEX
362
+ * ** ` 'c' ` - character**
363
+ * ** ` 'b' ` - binary**
364
+ * ** ` 'x' ` - hex**
365
+ * ** ` 'X' ` - HEX**
366
366
367
367
368
368
Numbers
@@ -899,18 +899,18 @@ while True:
899
899
* ** ` 't' ` - Text mode (default).**
900
900
901
901
#### Newline - input:
902
- * ` 'None' ` - Input is broken on ` '\n' ` , ` '\r' ` and ` '\r\n' ` . ` '\r' ` and ` '\r\n' ` are translated to ` '\n' ` .
903
- * ` '' ` - Input is broken on ` '\n' ` , ` '\r' ` and ` '\r\n' ` .
904
- * ` '\n' ` - Input is broken on ` '\n' ` .
905
- * ` '\r' ` - Input is broken on ` '\r' ` .
906
- * ` '\r\n' ` - Input is broken on ` '\r\n' ` .
902
+ * ** ` 'None' ` - Input is broken on ` '\n' ` , ` '\r' ` and ` '\r\n' ` . ` '\r' ` and ` '\r\n' ` are translated to ` '\n' ` (default). **
903
+ * ** ` '' ` - Input is broken on ` '\n' ` , ` '\r' ` and ` '\r\n' ` .**
904
+ * ** ` '\n' ` - Input is broken on ` '\n' ` .**
905
+ * ** ` '\r' ` - Input is broken on ` '\r' ` .**
906
+ * ** ` '\r\n' ` - Input is broken on ` '\r\n' ` .**
907
907
908
908
#### Newline - output:
909
- * ` 'None' ` - Any ` '\n' ` is translated to system default line separator.
910
- * ` '' ` - No translation.
911
- * ` '\n' ` - No translation.
912
- * ` '\r' ` - Any ` '\n' ` is translated to ` '\r' ` .
913
- * ` '\r\n' ` - Any ` '\n' ` is translated to ` '\r\n' ` .
909
+ * ** ` 'None' ` - Any ` '\n' ` is translated to system default line separator (default). **
910
+ * ** ` '' ` - No translation.**
911
+ * ** ` '\n' ` - No translation.**
912
+ * ** ` '\r' ` - Any ` '\n' ` is translated to ` '\r' ` .**
913
+ * ** ` '\r\n' ` - Any ` '\n' ` is translated to ` '\r\n' ` .**
914
914
915
915
#### Read Text from File:
916
916
``` python
@@ -1104,19 +1104,19 @@ b'\x00\x01\x00\x02\x00\x00\x00\x03'
1104
1104
1105
1105
### Format
1106
1106
#### For standard sizes start format string with:
1107
- * ` '=' ` - native byte order
1108
- * ` '<' ` - little-endian
1109
- * ` '>' ` - big-endian
1107
+ * ** ` '=' ` - native byte order**
1108
+ * ** ` '<' ` - little-endian**
1109
+ * ** ` '>' ` - big-endian**
1110
1110
1111
1111
#### Use capital letter for unsigned type. Standard size in brackets:
1112
- * ` 'x' ` - pad byte
1113
- * ` 'c' ` - char (1)
1114
- * ` 'h' ` - short (2)
1115
- * ` 'i' ` - int (4)
1116
- * ` 'l' ` - long (4)
1117
- * ` 'q' ` - long long (8)
1118
- * ` 'f' ` - float (4)
1119
- * ` 'd' ` - double (8)
1112
+ * ** ` 'x' ` - pad byte**
1113
+ * ** ` 'c' ` - char (1)**
1114
+ * ** ` 'h' ` - short (2)**
1115
+ * ** ` 'i' ` - int (4)**
1116
+ * ** ` 'l' ` - long (4)**
1117
+ * ** ` 'q' ` - long long (8)**
1118
+ * ** ` 'f' ` - float (4)**
1119
+ * ** ` 'd' ` - double (8)**
1120
1120
1121
1121
1122
1122
Array
@@ -1561,11 +1561,11 @@ img.save('test.png')
1561
1561
```
1562
1562
1563
1563
### Modes
1564
- * ` '1' ` - 1-bit pixels, black and white, stored with one pixel per byte.
1565
- * ` 'L' ` - 8-bit pixels, greyscale.
1566
- * ` 'RGB' ` - 3x8-bit pixels, true color.
1567
- * ` 'RGBA' ` - 4x8-bit pixels, true color with transparency mask.
1568
- * ` 'HSV' ` - 3x8-bit pixels, Hue, Saturation, Value color space.
1564
+ * ** ` '1' ` - 1-bit pixels, black and white, stored with one pixel per byte.**
1565
+ * ** ` 'L' ` - 8-bit pixels, greyscale.**
1566
+ * ** ` 'RGB' ` - 3x8-bit pixels, true color.**
1567
+ * ** ` 'RGBA' ` - 4x8-bit pixels, true color with transparency mask.**
1568
+ * ** ` 'HSV' ` - 3x8-bit pixels, Hue, Saturation, Value color space.**
1569
1569
1570
1570
1571
1571
Audio
0 commit comments