Skip to content

Commit d0a4454

Browse files
authored
Update link to Django's Context class. (#24805)
* Update link to Django's Context class. * Update link to get-pip.py.
1 parent b6884ad commit d0a4454

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/library/collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ The class can be used to simulate nested scopes and is useful in templating.
123123
writing to any mapping in the chain.
124124

125125
* Django's `Context class
126-
<https://github.com/django/django/blob/master/django/template/context.py>`_
126+
<https://github.com/django/django/blob/main/django/template/context.py>`_
127127
for templating is a read-only chain of mappings. It also features
128128
pushing and popping of contexts similar to the
129129
:meth:`~collections.ChainMap.new_child` method and the

Doc/library/venv.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ subclass which installs setuptools and pip into a created virtual environment::
404404
:param context: The information for the virtual environment
405405
creation request being processed.
406406
"""
407-
url = 'https://raw.github.com/pypa/pip/master/contrib/get-pip.py'
407+
url = 'https://bootstrap.pypa.io/get-pip.py'
408408
self.install_script(context, 'pip', url)
409409

410410
def main(args=None):

0 commit comments

Comments
 (0)