summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/pypi
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2011-11-11 18:39:25 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2011-11-11 18:39:25 (GMT)
commite41f0de84d286f0362e1c9e23a535aba827e109f (patch)
treeb5558b765d9f7b6fdb8903f8054727fed8736dc0 /Lib/packaging/pypi
parentc178d9bcc4c3255cd2d4268b597e5e41cfeafdee (diff)
parent992d9e081fab2061185b80c6decb57249b4612fe (diff)
downloadcpython-e41f0de84d286f0362e1c9e23a535aba827e109f.zip
cpython-e41f0de84d286f0362e1c9e23a535aba827e109f.tar.gz
cpython-e41f0de84d286f0362e1c9e23a535aba827e109f.tar.bz2
Merge 3.2, fix typos.
Diffstat (limited to 'Lib/packaging/pypi')
-rw-r--r--Lib/packaging/pypi/dist.py2
-rw-r--r--Lib/packaging/pypi/simple.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/packaging/pypi/dist.py b/Lib/packaging/pypi/dist.py
index dbf6459..541465e 100644
--- a/Lib/packaging/pypi/dist.py
+++ b/Lib/packaging/pypi/dist.py
@@ -427,7 +427,7 @@ class ReleasesList(IndexReference):
"""Sort the results with the given properties.
The `prefer_final` argument can be used to specify if final
- distributions (eg. not dev, bet or alpha) would be prefered or not.
+ distributions (eg. not dev, beta or alpha) would be preferred or not.
Results can be inverted by using `reverse`.
diff --git a/Lib/packaging/pypi/simple.py b/Lib/packaging/pypi/simple.py
index e01e033..44d98e1 100644
--- a/Lib/packaging/pypi/simple.py
+++ b/Lib/packaging/pypi/simple.py
@@ -269,7 +269,7 @@ class Crawler(BaseClient):
def _register_release(self, release=None, release_info={}):
"""Register a new release.
- Both a release or a dict of release_info can be provided, the prefered
+ Both a release or a dict of release_info can be provided, the preferred
way (eg. the quicker) is the dict one.
Return the list of existing releases for the given project.