Browse Source

Format

pull/27/head
Jure Šorn 5 years ago
parent
commit
b96348a8e5
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -318,7 +318,7 @@ Format
```
```python
>>> Person = namedtuple('Person', 'name height')
>>> Person = collections.namedtuple('Person', 'name height')
>>> person = Person('Jean-Luc', 187)
>>> f'{person.height}'
'187'

Loading…
Cancel
Save