diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-03-13 12:34:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-13 12:34:38 (GMT) |
commit | db2762c3f24be3a1783e9d1e5fadb1a7d8d22a7c (patch) | |
tree | 0c7777a974b92062b50987ffff942addc29439e4 /Doc/library | |
parent | 8cadc2c9cacfa1710cb5ca28a70f7782cacf09aa (diff) | |
download | cpython-db2762c3f24be3a1783e9d1e5fadb1a7d8d22a7c.zip cpython-db2762c3f24be3a1783e9d1e5fadb1a7d8d22a7c.tar.gz cpython-db2762c3f24be3a1783e9d1e5fadb1a7d8d22a7c.tar.bz2 |
Update link to Django's Context class. (GH-24805) (#24842)
* Update link to Django's Context class.
* Update link to get-pip.py.
(cherry picked from commit d0a445490e2c0e1d2aef3005f14211d9a85196bf)
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/collections.rst | 2 | ||||
-rw-r--r-- | Doc/library/venv.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index d429716..7cbc172 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -125,7 +125,7 @@ The class can be used to simulate nested scopes and is useful in templating. writing to any mapping in the chain. * Django's `Context class - <https://github.com/django/django/blob/master/django/template/context.py>`_ + <https://github.com/django/django/blob/main/django/template/context.py>`_ for templating is a read-only chain of mappings. It also features pushing and popping of contexts similar to the :meth:`~collections.ChainMap.new_child` method and the diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index 59b2518..593ba96 100644 --- a/Doc/library/venv.rst +++ b/Doc/library/venv.rst @@ -386,7 +386,7 @@ subclass which installs setuptools and pip into a created virtual environment:: :param context: The information for the virtual environment creation request being processed. """ - url = 'https://raw.github.com/pypa/pip/master/contrib/get-pip.py' + url = 'https://bootstrap.pypa.io/get-pip.py' self.install_script(context, 'pip', url) def main(args=None): |