Browse Source

Format

pull/10/head
Jure Šorn 5 years ago
parent
commit
2ba3d626a1
1 changed files with 6 additions and 6 deletions
  1. 12
      README.md

12
README.md

@ -75,7 +75,7 @@ value = <dict>.setdefault(key, default) # Same, but also adds default to di
```
```python
value = <dict>.pop(key) # Removes item from dictionary.
value = <dict>.pop(key) # Removes item from dictionary.
{k: v for k, v in <dict>.items() if k in keys} # Filters dictionary by keys.
```
@ -325,11 +325,11 @@ Format
### General Options
```python
{<el>:<10} # '<el> '
{<el>:>10} # ' <el>'
{<el>:^10} # ' <el> '
{<el>:->10} # '------<el>'
{<el>:>0} # '<el>'
{<el>:<10} # '<el> '
{<el>:>10} # ' <el>'
{<el>:^10} # ' <el> '
{<el>:->10} # '------<el>'
{<el>:>0} # '<el>'
```
### String Options

Loading…
Cancel
Save