diff --git a/docs/index.md b/docs/index.md index b1a00694..4b58e63c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,4 +1,4 @@ -# Python Fire +# Python Fire [![PyPI](https://img.shields.io/pypi/pyversions/Django.svg?style=plastic)](https://github.com/google/python-fire) _Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object._ diff --git a/fire/core.py b/fire/core.py index 9c723080..a7e3adaa 100644 --- a/fire/core.py +++ b/fire/core.py @@ -262,7 +262,7 @@ def _OneLineResult(result): return str(result).replace('\n', ' ') try: - # non-forced to ascii convert + # Don't force conversion to ascii. return json.dumps(result, ensure_ascii=False) except (TypeError, ValueError): return str(result).replace('\n', ' ')