Fix github URLs

This commit is contained in:
Guido van Rossum 2016-09-19 12:56:22 -07:00
parent e8d0ecf38f
commit cd22b95028
1 changed files with 3 additions and 3 deletions

View File

@ -504,7 +504,7 @@ Usage Of ``None`` In The Standard Library
The previous sections show some code patterns that are claimed to be "common",
but how common are they? The attached script `find-pep505.py
<https://github.com/python/peps/tree/master/pep-0505/find-pep505.py>`_ is meant to
<https://github.com/python/peps/blob/master/pep-0505/find-pep505.py>`_ is meant to
answer this question. It uses the ``ast`` module to search for variations of the
following patterns in any ``*.py`` file.
@ -577,11 +577,11 @@ The script prints out any matches it finds. Sample::
hand, we assume that ``and`` is always incorrect for safe navigation.
The script has been tested against `test.py
<https://github.com/python/peps/tree/master/pep-0505/test.py>`_ and the Python 3.4
<https://github.com/python/peps/blob/master/pep-0505/test.py>`_ and the Python 3.4
standard library, but it should work on any arbitrary Python 3 source code. The
complete output from running it against the standard library is attached to this
proposal as
`find-pep505.out <https://github.com/python/peps/tree/master/tip/pep-0505/find-pep505.out>`_.
`find-pep505.out <https://github.com/python/peps/blob/master/pep-0505/find-pep505.out>`_.
The script counts how many matches it finds and prints the totals at the
end::