8000 - Sync docs across readme and index. · amitpp/python-fire@e76a10c · GitHub
[go: up one dir, main page]

Skip to content

Commit e76a10c

Browse files
committed
- Sync docs across readme and index.
- Clean up ascii comment Copybara generated commit for Python Fire. PiperOrigin-RevId: 166864447 Change-Id: Iafe0bb00bc44b49175c7f138debe89013f2787dd Reviewed-on: https://team-review.git.corp.google.com/107481 Reviewed-by: David Bieber <dbieber@google.com>
1 parent 2c7b039 commit e76a10c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Python Fire
1+
# Python Fire [![PyPI](https://img.shields.io/pypi/pyversions/Django.svg?style=plastic)](https://github.com/google/python-fire)
22
_Python Fire is a library for automatically generating command line interfaces
33
(CLIs) from absolutely any Python object._
44

fire/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def _OneLineResult(result):
262262
return str(result).replace('\n', ' ')
263263

264264
try:
265-
# non-forced to ascii convert
265+
# Don't force conversion to ascii.
266266
return json.dumps(result, ensure_ascii=False)
267267
except (TypeError, ValueError):
268268
return str(result).replace('\n', ' ')

0 commit comments

Comments
 (0)
0