8000 Update link to Django's Context class. (GH-24805) (#24842) · python/cpython@db2762c · GitHub
[go: up one dir, main page]

Skip to content

Commit db2762c

Browse files
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 d0a4454) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
1 parent 8cadc2c commit db2762c

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
@@ -125,7 +125,7 @@ The class can be used to simulate nested scopes and is useful in templating.
125125
writing to any mapping in the chain.
126126

127127
* Django's `Context class
128-
<https://github.com/django/django/blob/master/django/template/context.py>`_
128+
<https://github.com/django/django/blob/main/django/template/context.py>`_
129129
for templating is a read-only chain of mappings. It also features
130130
pushing and popping of contexts similar to the
131131
: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
@@ -386,7 +386,7 @@ subclass which installs setuptools and pip into a created virtual environment::
386386
:param context: The information for the virtual environment
387387
creation request being processed.
388388
"""
389-
url = 'https://raw.github.com/pypa/pip/master/contrib/get-pip.py'
389+
url = 'https://bootstrap.pypa.io/get-pip.py'
390390
self.install_script(context, 'pip', url)
391391

392392
def main(args=None):

0 commit comments

Comments
 (0)
0