commit d26ae18b106a5671d2db4f0c23fc6eff91813586 Author: zhaoleilc <15247232416@163.com> Date: Thu Jul 23 17:23:48 2020 +0800 Correct a typo in the document This patch changes 'prefered' to 'preferred' in the document Change-Id: I490f415651cafa771c8ad26cb4e740e983e130ae diff --git a/doc/source/usage.rst b/doc/source/usage.rst index e71d67f..ddd2d7f 100644 --- a/doc/source/usage.rst +++ b/doc/source/usage.rst @@ -177,7 +177,7 @@ different distribution specific guidelines. .. note:: For translating pypi names (the name a python package has on `pypi.python.org`_ to distro specific names, internally a module called `pymod2pkg`_ is used. -The prefered way to use `py2name` is to set the context variable `pypi_name` and +The preferred way to use `py2name` is to set the context variable `pypi_name` and then call `py2name()` without any parameters. In that case, the context variable is used::