Skip to content

Commit

Permalink
Update link to Django's Context class. (python#24805)
Browse files Browse the repository at this point in the history
* Update link to Django's Context class.
* Update link to get-pip.py.
  • Loading branch information
felixxm authored Mar 13, 2021
1 parent b6884ad commit d0a4454
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Doc/library/collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,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
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/venv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,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):
Expand Down

0 comments on commit d0a4454

Please sign in to comment.