summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-11-06 06:49:39 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2018-11-06 06:49:39 -0800
commit7fb171f65d30ca2ef98e1ee7237b04bd59c1cc70 (patch)
treed45c649eba4327d91d77cc47b298f5daadb69abb
parent7654d0d5adc31d4f5a58cf61ea48e87447a0fe0d (diff)
downloadnatsort-7fb171f65d30ca2ef98e1ee7237b04bd59c1cc70.tar.gz
Update all pypi.python.org URLs to pypi.org
For details on the new PyPI, see the blog post: https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
-rw-r--r--docs/source/howitworks.rst2
-rw-r--r--docs/source/locale_issues.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/howitworks.rst b/docs/source/howitworks.rst
index 2415a91..2397ed0 100644
--- a/docs/source/howitworks.rst
+++ b/docs/source/howitworks.rst
@@ -938,7 +938,7 @@ So, how to deal with this situation? There are two ways to do so.
turn on *LOWERCASEFIRST* and *GROUPLETTERS*.
#. Use an alternate library if installed. `ICU <http://site.icu-project.org/>`_
is a great and powerful library that has a pretty decent Python port
- called (you guessed it) `PyICU <https://pypi.python.org/pypi/PyICU/>`_.
+ called (you guessed it) `PyICU <https://pypi.org/project/PyICU/>`_.
If a user has this library installed on their computer, :mod:`natsort`
chooses to use that instead of :mod:`locale`. With a little bit of
planning, one can write a set of wrapper functions that call
diff --git a/docs/source/locale_issues.rst b/docs/source/locale_issues.rst
index 48fa676..3d694fe 100644
--- a/docs/source/locale_issues.rst
+++ b/docs/source/locale_issues.rst
@@ -39,7 +39,7 @@ independent of the global state, but the
function must access this global state to work; therefore, if you change
locale and use ``ns.LOCALE`` then you should discard the old key.
-.. note:: If you use `PyICU <https://pypi.python.org/pypi/PyICU>`_ then you
+.. note:: If you use `PyICU <https://pypi.org/project/PyICU/>`_ then you
may be able to reuse keys after changing locale.
The `locale <https://docs.python.org/3.5/library/locale.html>`_ Module From the StdLib Has Issues