summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth M Morton <seth.m.morton@gmail.com>2015-05-17 19:41:29 -0700
committerSeth M Morton <seth.m.morton@gmail.com>2015-05-17 19:41:29 -0700
commita2e86d1a75b5c2116f545b3ae80dab61b7096b48 (patch)
tree8b34f728a6f596ecfa9d66859b730b74b473b8f2
parent3cbedc17c805fb7a077e8b69fd3066aea7f3a38e (diff)
parent4de3b02082e64dcdd61703e1f47b4c6fc8ff0038 (diff)
downloadnatsort-a2e86d1a75b5c2116f545b3ae80dab61b7096b48.tar.gz
natsort release version 4.0.0 with documentation formatting.v4.0.04.0.0
-rw-r--r--README.rst2
-rw-r--r--docs/source/intro.rst6
2 files changed, 5 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 7e8316a..4728906 100644
--- a/README.rst
+++ b/README.rst
@@ -83,7 +83,7 @@ BSD-based system (like Mac OS X).
You can sort signed floats (i.e. real numbers) using the ``realsorted``; this is
useful in scientific data analysis. This was the default behavior of ``natsorted``
-for ``natsort`` version < 4.0.0. ::
+for ``natsort`` version < 4.0.0:
.. code-block:: python
diff --git a/docs/source/intro.rst b/docs/source/intro.rst
index d454094..eeed041 100644
--- a/docs/source/intro.rst
+++ b/docs/source/intro.rst
@@ -63,7 +63,9 @@ a useful hack.
You can also perform locale-aware sorting (or "human sorting"), where the
non-numeric characters are ordered based on their meaning, not on their
-ordinal value; this can be achieved with the :func:`~humansorted` function::
+ordinal value; this can be achieved with the :func:`~humansorted` function:
+
+.. code-block:: python
>>> a = ['Apple', 'Banana', 'apple', 'banana']
>>> natsorted(a)
@@ -82,7 +84,7 @@ below before using the :func:`~humansorted` function.
You can sort signed floats (i.e. real numbers) using the :func:`~realsorted`;
this is useful in scientific data analysis. This was the default behavior of
-:func:`~natsorted` for :mod:`natsort` version < 4.0.0. ::
+:func:`~natsorted` for :mod:`natsort` version < 4.0.0:
.. code-block:: python