Browse Source

Format

pull/28/head
Jure Šorn 5 years ago
parent
commit
2d4274ac38
1 changed files with 0 additions and 3 deletions
  1. 3
      README.md

3
README.md

@ -340,9 +340,6 @@ Format
**`'!r'` calls object's repr() method, instead of format(), to get a string.** **`'!r'` calls object's repr() method, instead of format(), to get a string.**
```python ```python
{'abcde'!r:<10} # "'abcde' " {'abcde'!r:<10} # "'abcde' "
```
```python
{'abcde':.3} # 'abc' {'abcde':.3} # 'abc'
{'abcde':10.3} # 'abc ' {'abcde':10.3} # 'abc '
``` ```

Loading…
Cancel
Save