diff options
author | Seth M Morton <seth.m.morton@gmail.com> | 2016-05-02 22:39:17 -0700 |
---|---|---|
committer | Seth M Morton <seth.m.morton@gmail.com> | 2016-05-02 23:01:46 -0700 |
commit | 13033328100f4f8156eb09917906277ca4b2fb04 (patch) | |
tree | 0f39fb5c98c9ac7009dae24cc9b69bd6c3349b52 | |
parent | da40ee390145093c11225dba76dff2e2da5f1b60 (diff) | |
download | natsort-13033328100f4f8156eb09917906277ca4b2fb04.tar.gz |
Clarified a statement in the README.
-rw-r--r-- | README.rst | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -34,8 +34,8 @@ Notice that it has the order ('1', '10', '2') - this is because the list is being sorted in lexicographical order, which sorts numbers like you would letters (i.e. 'b', 'ba', 'c'). -``natsort`` provides a function ``natsorted`` that helps sort lists "naturally", -either as real numbers (i.e. signed/unsigned floats or ints), or as versions. +``natsort`` provides a function ``natsorted`` that helps sort lists "naturally"; +you can choose unsigned or signed ints or floats (it defaults to unsigned ints). Using ``natsorted`` is simple: .. code-block:: python |