Skip to content

Commit

Permalink
README: Add quotes aroud output strings
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jun 16, 2020
1 parent ac4d3c4 commit b6040db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@ How to change locale at runtime:
>>> import humanize
>>> import datetime as dt
>>> humanize.naturaltime(dt.timedelta(seconds=3))
3 seconds ago
'3 seconds ago'
>>> _t = humanize.i18n.activate("ru_RU")
>>> humanize.naturaltime(dt.timedelta(seconds=3))
3 секунды назад
'3 секунды назад'
>>> humanize.i18n.deactivate()
>>> humanize.naturaltime(dt.timedelta(seconds=3))
3 seconds ago
'3 seconds ago'
```

You can pass additional parameter `path` to `activate` to specify a path to search
Expand Down

0 comments on commit b6040db

Please sign in to comment.